file size limit?

Please use this forum to post bug reports, feature requests, tips, etc. for beta versions of Picture Window Pro 8

Moderator: jsachs

Locked
MarkT
Posts: 366
Joined: April 24th, 2009, 2:07 pm

file size limit?

Post 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?
jsachs
Posts: 4203
Joined: January 22nd, 2009, 11:03 pm

Re: file size limit?

Post 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.
Jonathan Sachs
Digital Light & Color
jsachs
Posts: 4203
Joined: January 22nd, 2009, 11:03 pm

Re: file size limit?

Post 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.
Jonathan Sachs
Digital Light & Color
MarkT
Posts: 366
Joined: April 24th, 2009, 2:07 pm

Re: file size limit?

Post 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 1999 times
I could resize it to a smaller size, but it is black, too.
jsachs
Posts: 4203
Joined: January 22nd, 2009, 11:03 pm

Re: file size limit?

Post 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.
Jonathan Sachs
Digital Light & Color
MarkT
Posts: 366
Joined: April 24th, 2009, 2:07 pm

Re: file size limit?

Post 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.
Locked