Page 1 of 1

Not enough memory

Posted: Mon Jun 06, 2005 1:09 pm
by Bingo
Hi all !

I am still fighting with very large images.
I just want to crop a portion of a png (22.000x32.000 pixels approximatively), using this command line :
nconvert -crop 4000 4000 1000 1000 -o cropped.png original.png

The output I get is :
** NCONVERT v4.25 (c) 1991-2004 Pierre-E Gougelet (Oct 8 2004/15:42:00) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)

Error: Not enough memory (original.png)

But nconvert does not even try to load the image, so I think there is some kind of hardcoded limit here. Is there a way to work aruond this ? I think my computer should handle this kind of images (2 GB RAM, 4GB swapfile) ?

Thanks a lot !

Re: Not enough memory

Posted: Tue Jun 21, 2005 3:01 pm
by xnview
Bingo wrote:Hi all !

I am still fighting with very large images.
I just want to crop a portion of a png (22.000x32.000 pixels approximatively), using this command line :
nconvert -crop 4000 4000 1000 1000 -o cropped.png original.png

The output I get is :
** NCONVERT v4.25 (c) 1991-2004 Pierre-E Gougelet (Oct 8 2004/15:42:00) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)

Error: Not enough memory (original.png)

But nconvert does not even try to load the image, so I think there is some kind of hardcoded limit here. Is there a way to work aruond this ? I think my computer should handle this kind of images (2 GB RAM, 4GB swapfile) ?
Strange the limit is 64000x64000. I think that your file is big (to test it)??