mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 14:17:14 +00:00
An image that SVG import writes again as PNG (a TIFF, or a PNG, JPEG, GIF or WebP whose orientation turns it) now keeps the ICC profile its file carries, as an iCCP chunk, when the profile's color space is the stored samples': gray for gray samples, RGB for RGB ones. Open and Place already keep it. Profiles of another color space, ones too short to be a profile, and the profile of a TIFF whose own reader converts its pixels to RGBA are left out, and the image still imports. Sample types a PNG doesn't hold are stored as 8-bit RGBA, as Open and Place store them.