Out of Memory error

Discussions about image processing and document imaging.
Post Reply
andrew
Posts: 22
Joined: Tue Jul 24, 2007 9:30 pm

Out of Memory error

Post by andrew » Mon Mar 24, 2008 11:43 pm

Hello Loïc,
I am have issues working with relatively large tiff and jpg images (15,000 x 10,000) all the images are 8bit grayscale.
I am getting a status 3 Out of Memory, when I call any of the following methods,
SetContrast
SetGammaCorrection
SetSaturation
Most if not all of the Fx methods
Most if not all of the ConvertTo methods

I am currently using v5.1.6, however I have found the same issues with v4.5, with the exception that the ConvertTo methods do seem to work.

I have tried breaking the image into zones and applying the methods to the zone and it changes the images just fine however, then end result I require is a 1bpp tif, which I need the ConvertTo method to achive.

I am under a bit of a deadline with this tools, any help would be apprecated.

Thanks,
Andrew

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Out of Memory error

Post by Loïc » Wed Mar 26, 2008 4:40 pm

Hi Andrew,

Unfortunately I can't suggest you anything.
If you have an Out Of memory error it is because the GdPicture object needs to allocate more memory than the system allows it...

Like you said, a way consist to divide this image into smaller images, apply your transformations into smaller images then recompose new one merging extracted images.


Best regards,

Loïc Carrère

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest