RTImageAssets icon indicating copy to clipboard operation
RTImageAssets copied to clipboard

Doesn't preserve color space in my case

Open antongaenko opened this issue 10 years ago • 3 comments

Hi! Nice plugin. I notice problems with generated images when running on device. 3x images look as they should, but 2x have different colors a little. I think in my case it's because 3x images have sRGB IEC61966-2.1 color space, but generated images have Generic RGB Profile (which I think is by default in Plugin?). When I provide both in sRGB IEC61966-2.1 all is OK. My iMac has been set sRGB IEC61966-2.1 in Settings/Monitor. Where could issue be?

antongaenko avatar Oct 22 '15 10:10 antongaenko

Just reinstall with Package Manager to be sure running last version and it has this issue

antongaenko avatar Oct 22 '15 10:10 antongaenko

Sorry, I don't know quite a lot about color space stuffs, in fact, I tried to preserve the origin image's color space, but sometimes fails: https://github.com/rickytan/RTImageAssets/blob/master/RTImageAssets/IAImageSet.m#L46

Can you help me with this?

rickytan avatar Oct 22 '15 16:10 rickytan

I'm not familiar with color space management too :smile: Above code seems well. No thoughts where issue could live...

antongaenko avatar Oct 26 '15 10:10 antongaenko