Page 1 of 1

Image Pixel Width Limit

Posted: March 5th, 2012, 2:51 am
by tomczak
Could I be reminded what is the horizontal image pixel size limit in PWP32 - there was a discussion on it in the past, but I can't find it anymore. Would such limit apply to PWP64 as well?

Re: Image Pixel Width Limit

Posted: March 9th, 2012, 5:50 pm
by jsachs
In the latest PWP, there are strict limits on the number of bytes a single image row can occupy in both the 32-bit and 64-bit versions:

32-bit version: 512KB
64-bit version: 4GB

To get the maximum number of pixels per row, divide the above number by the number of bytes per pixel which depends on the image type:

8-bit B&W: 1
16-bit B&W: 2
24-bit Color: 3
48-bit Color: 6

There is no practical limit on the number of rows.