Page 1 of 1

file size limit?

Posted: May 13th, 2018, 4:08 pm
by MarkT
I have a 33284 x 26433 jpg file (approx. 880 megapixels, 575 MB on disk). It opens, slowly, in PWP7, but it crashes PWP8. I searched the help file for "size", "limit", "file size", but was not able to find a reference to the file size limitations. Is this one just too big?

Re: file size limit?

Posted: May 13th, 2018, 4:29 pm
by jsachs
No limit that I know of, although the file read code may have limits that I don't know about. Or you could just be out of memory.

Re: file size limit?

Posted: May 14th, 2018, 12:29 pm
by jsachs
I had changed PWP8 to allocate images in a single block - PWP 7 used to split them up. It turns out this did impose some size limits. I changed it back so the limits should be a lot larger for the next release. New limit is about 4MB per row (number of pixels * bytes per pixel) - for 48-bit color images, that's almost 700,000 pixels wide.

After the change I was able to do a File New of a 48-bit color image 40000 x 40000. It did take a while, but it didn't crash. I don't have any files that large here to test to see if it will read them.

Re: file size limit?

Posted: May 15th, 2018, 5:16 pm
by MarkT
Tried again with 15.5-May-2018, to open my large file. No more crashing, it opens quickly, but it's all black:
large_image-1.jpg
large_image-1.jpg (75.91 KiB) Viewed 2663 times
I could resize it to a smaller size, but it is black, too.

Re: file size limit?

Posted: May 15th, 2018, 5:33 pm
by jsachs
By experiment, I am guessing the size limit is around 32000 x 32000 24-bit color pixels. I was able to make a checkerboard image that large and save and reload it, but 40000 x 40000 did not work. 40000 x 40000 8-bit black and white did work.

Re: file size limit?

Posted: May 15th, 2018, 10:59 pm
by MarkT
Re-sized to 30,000 wide in PWP7, and PWP8 opened that no problem. Shouldn't be much of an issue, but it's good to know the limits.