mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-26 03:16:53 -06:00
Images are converted once, when decoded, from their own colour space into the file's (sRGB or Display P3): ICC profiles in PNG, JPG, WebP and TIFF (matrix/curve and table profiles, RGB or grey, run by moxcms, which the image crate already builds) and a PNG's sRGB, gAMA and cHRM chunks. Images without a usable profile (none, CMYK, damaged, over 4 MB) are taken as sRGB as before. The image fill's details show the source profile and image.place reports it as imageProfile.