bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
401 stars 55 forks source link

LazPaint cannot save much colored pic as BMP 256 colors #21

Closed circular17 closed 6 years ago

circular17 commented 6 years ago

After some editing I have too much colors in pic (i didnt want it), and now I cannot save pic as BMP 16 color or 256 color. It allows only 24bit. Pls, ALWAYS enable them, so I can save pic with downsample to 256 colors.

Alexey-T commented 6 years ago

It was my wish from Lazarus forum.

circular17 commented 6 years ago

Yep: https://forum.lazarus.freepascal.org/index.php/topic,38901.0.html

circular17 commented 6 years ago

That works in current development version. When you modify the image, you add more colors to it, and when you save, you can select back 4bits or 8bits per pixel if you wish. Note that this is possible only if there are not transparent pixels. You may need to add a background layer to make sure to fill every pixel as only BMP 32bit and BMP MioMap can handle transparency.

Alexey-T commented 6 years ago

Good, thanks