Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_SaveImage less then 32BPP
#7
(02-17-2026, 04:52 PM)Petr Wrote:
(02-17-2026, 04:36 PM)mdijkens Wrote: Thanks Petr,
Second one works good.
But anyhow it is a one time generate PNG to print at 1200dpi (highest quality with fine lines)

Still wondering why _SaveImage always reverts to 32BPP instead of taking image mode-property into account

I assume it's because of speed. It depends on the library being used, as some can't handle anything less than 24/32-bit images. That’s why they convert them to 32-bit. I’m basing this on my experience with BMP, which also doesn't support everything it potentially could. However, I’ve released my own versions where that support is included.
    I've even found that for the emulated VGA color modes with < 256 colors that the bitmap is stored internally as an 8 bit map !.     _palettecolor is only artificially limited to 16 colors for those.   But if doing a _MEMIMAGE they are still stored internally as 1 byte per pixel. !
Reply


Messages In This Thread
_SaveImage less then 32BPP - by mdijkens - 02-17-2026, 12:47 PM
RE: _SaveImage less then 32BPP - by Petr - 02-17-2026, 04:09 PM
RE: _SaveImage less then 32BPP - by mdijkens - 02-17-2026, 04:36 PM
RE: _SaveImage less then 32BPP - by SMcNeill - 02-17-2026, 04:50 PM
RE: _SaveImage less then 32BPP - by Petr - 02-17-2026, 04:52 PM
RE: _SaveImage less then 32BPP - by ahenry3068 - 02-17-2026, 05:03 PM
RE: _SaveImage less then 32BPP - by a740g - 02-17-2026, 09:45 PM
RE: _SaveImage less then 32BPP - by SMcNeill - 02-17-2026, 04:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)