What image processing library can I use?

Discussion in 'Questions (Windows Mobile)' started by Standa, Sep 30, 2009.

  1. Standa

    Standa Member Licensed User

    Hi,
    I want help with choosing the right library. I need some drawing on the Form with possibility to load and save (as bitmap) a part of the screen (x1,y2,x2,y2).
    I have downloaded "draw.zip" from this forum. It is good example for using ImageLib and ImageLibEx and this is what I want, but I can't find how to load and save only part of screen.
     
  2. derez

    derez Expert Licensed User

  3. klaus

    klaus Expert Licensed User

    Hi Standa,

    You can also use the ImageLibEx.
    You need following objects for the partial image
    a BitmapEx, DrawerEx and 2 RectEx objects
    - bmpImage BitmapEx for the partial bitmap
    - drwImage DrawerEx for the bitmap above
    - rectSrc source rectangle for copying
    - rectDest destination rectangle

    Then with
    drwImage.DrawImage(Form1.Image,rectSrc.Value,rectDest.Value)
    bmpImage.SaveImage(FileName,"J")

    What draw.zip did you download ? Did you have a look at this one: http://www.basic4ppc.com/forum/share-your-creations/3945-draw-program-5.html

    I wouldn't mix ImageLib and ImageLibEx, only use ImageLibEx.
    ImageLibEx has all functionalities of ImageLib and much more!

    Best regards.
     
    Last edited: Sep 30, 2009
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice