PetrR$2007066
PetrR

03/08/2007 :: 15:33

Registered

I'm trying to resize image with size 665057 x 34713 pixels. Resize() metod returns code 3 = Out Of Memory. Is possible to say how many free memory I need for resizing image with this size?

Thanks for your help,
Petr
Loïc$2006306
Loïc

03/12/2007 :: 07:06

Registered

Hi Petr,

The GdPicture components use the Microsoft gdiplus API to resize an image. And unfortunately, there is no exported API to get any memory leak information. The only memory limitation is the free memory of your system.

PS: for best results with large images & the resize method use Interpolation Mode Default (0) value as nInterpolation parameter.

Best regards,

Loïc Carrère
back to forum