Colorspace conversion during export

Please consider this a very low-priority request.

What do you want to achieve?

I’d like the colors shown on my UX designer’s monitor to match the colors I render on device as closely as possible. To do so, I’d like to be able to specify a color-space for the target device.

Do you see alternative options and workaround to achieve it?

It is possible to hack around this by tweaking image colors prior to SLS export, but it doesn’t always work well.

Mention some use cases

Most LCD displays are not exact sRGB displays, but rather may exceed sRGB, or may not quite reach part of the gamut, or have a different gamma value than the source monitor. This causes specific (R,G,B) tuples to appear as different colors.

Even if the display assembly makes doesn’t provide this information, it can be measured by drawing several frames and measuring with an SM208 meter to construct the curves.

Once these curves are known, SquareLine studio could consider this information when converting from PNG(which may specify its colorspace with gAMA tags) to the C arrays for the target device.

Thank you Richard for raising this topic, we are looking into it in more detail!