Discussions about 1D barcode reading and writing
Post Reply
Posts: 12
Joined: Wed Oct 03, 2012 3:56 am


Post by Eric » Wed Dec 19, 2012 9:18 am

My question is below...

First time , i set the ROI like this,GdPictureImaging.SetROI(1283, 306, 1937, 545).

I use oGdPictureImaging.Barcode1DReaderDoScan(ImageID) method and get oGdPictureImaging.GetStat is OK.

Then i can use oGdPictureImaging.Barcode1DReaderGetBarcodeCount and oGdPictureImaging.Barcode1DReaderGetBarcodeValue methods get the barcode, and use oGdPictureImaging.DrawLine(ImageID, 1283, 306, 1937, 545, 5, Color.Red, True) method to draw the barcode's frame.

The steps are no problems here.

This time , i use the same steps to try again,the only different is i change the ROI's value to become (500, 306, 800, 545).

The steps are no problems here like before.

Finally, i change the ROI's value again, the value is like first time (1283, 306, 1937, 545).

Then i got a problem , that is oGdPictureImaging.GetStat is OutOfMemory.

I don't know what reasons to cause it and how to solve it.

So , i need help... thanks

User avatar
Site Admin
Posts: 5687
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: OutOfMemory

Post by Loïc » Sat Dec 22, 2012 1:53 pm

Hello Eric,

Please do the following:

- Check that you are using the latest available version.
- If the problem persists please create a code snippet reproducing the problem that we can run "as is" and provide the input image.

You can send snippet + image on the help-desk that you can reach here: http://support.gdpicture.com

Kind regards,


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest