02-17-2026, 05:03 PM
(02-17-2026, 04:52 PM)Petr Wrote: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. !(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.

