Sorry... It's a SCREEN that has a max of 32,767 pixels.
Most image formats are unsigned integers in width and height:
So technically, I imagine you *could* make 65k x 65k images. I just don't think QB64 would make them, as I *think* our limits are based on signed longs instead (which is what a max program screen size can be in windows and such).
Most image formats are unsigned integers in width and height:
Quote:The physical image size limit for .jpeg compression is 65,535 pixels, this applies to any file format that uses >jpeg compression.
If you need to capture an image that is too large to work with .jpeg you can instead use .tiff with deflate or G4 compression.
PDF does not have an explicit file size limit again the same rule applies since PDF uses .jpeg compression for images it will also have the physical image size unless compression is turned off.
Architecturally there is only one limit in the PDF standard: the overall file size must be below ~10GB as the cross-reference tables which define the PDF structure use 10 bits.
A workaround could be to scan at a lower resolution to say 200dpi with a file format as TIFF. Use a different compression (or no compression),
So technically, I imagine you *could* make 65k x 65k images. I just don't think QB64 would make them, as I *think* our limits are based on signed longs instead (which is what a max program screen size can be in windows and such).