mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-19 23:45:29 +00:00
59f0ab4850
When file.exportTextures is given a colorSpace, colour maps carry it: an ICC profile in PNG, JPEG, TIFF and WebP, the chromaticities attribute in EXR. TGA, BMP and HDR have no place for one and warn. Data maps and exports without a chosen space are unchanged. The profile is a small version 2.1 matrix/curve profile written from the space's primaries (Bradford-adapted to D50), tested against the published sRGB colorants. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>