Sign in to follow this  
Followers 0
diveboy

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

1 post in this topic

#1 ·  Posted (edited)

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

Michael.

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  
Followers 0