Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
program that stitches together a bunch of image files into one giant poster?
#11
(10-24-2024, 07:39 AM)grymmjack Wrote: imagemagick convert.
https://imagemagick.org/script/convert.php
...
(or +append) if you want horizontal

Interesting, thanks! I already use imagemagick to convert images from the weird new formats like webp not supported by certain apps, to formats they do understand, but haven't gotten too deep into the other features. This makes me curious to find out more about what else it can do. Thanks again!
Reply
#12
I think there is a limit of ~8GB for a 32bit image?
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply
#13
(10-24-2024, 02:30 PM)mdijkens Wrote: I think there is a limit of ~8GB for a 32bit image?
Is that a limit in QB64PE, that Microsoft Image Composite Editor app, ImageMagick, the PNG or JPEG file format, or under Windows 11? Sorry, we've mentioned all of these on the thread...
Reply
#14
Your limit is going to be 4GB in size.   The reason is rather simple... 32,767 pixels x 32,767 pixels is the largest an image can be, and 32-bit images are 4 bytes per pixel.   32k * 32k * 4 = 4 GB.

Or...  An _UNSIGNED LONG in size.
Reply
#15
Sorry...   It's a SCREEN that has a max of 32,767 pixels.

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).
Reply
#16
(10-24-2024, 05:56 PM)SMcNeill Wrote: 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).

Good to know - thanks. Don't think I'll need bigger than 32767x32767 at this time (that res would probably be overkill for printing a big poster), but - MAYBE SOMEDAY! LoL
Reply




Users browsing this thread: 1 Guest(s)