What image processing library can I use?

Standa

Member
Licensed User
Longtime 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.
 

klaus

Expert
Licensed User
Longtime 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.b4x.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:
Top