Jump to content

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


diveboy
 Share

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

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...