Jump to content
Sign in to follow this  

using gdiplus,how can I select a region of loaded image ?

Recommended Posts


Hi all,

I need to do some ocr of some files, I need to convert from pdf to tiff/jpg then load and extract an area that contains the drawing number/name in it. I have the OCR side of it working but I need to do the image conversion side.

I have loaded the image using gdiplus but need to know if it's possible to specify a region from the image and save that region to a new file ?

much like using _ScreenCapture_Capture(@MyDocumentsDir & "\GDIPlus_Image2.jpg", 0, 0, 796, 596) but pointing it at the file instead of the active window ?

thanks in advance


ok, just found _GDIPlus_BitmapCloneArea SORRY !

I'll go off and hide, why isn't there never a delete this post button!

Edited by diveboy

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.