mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-09 03:51:42 +00:00
Each export setting has a color profile: Same as file (the default, the document's profile when it exports), sRGB or Display P3. PNG, JPG and WebP settings list it in their advanced settings, and export.add, export.update, file.export, file.exportLayers (for every setting) and the MCP export tool take it as colorProfile. The rendered pixels are converted to the chosen profile (out-of-gamut colors clip) and the file is tagged as before: an sRGB chunk for sRGB PNG, the generated ICC profile (and cICP in PNG) for Display P3; sRGB JPG and WebP stay untagged. A setting keeps its choice when its format changes, and settings saved without one read as Same as file. SVG, PDF and Android XML show no choice and stay sRGB; PDF has no output intent yet.