fileicon icon indicating copy to clipboard operation
fileicon copied to clipboard

Lighter colors with 0.2.0

Open FezVrasta opened this issue 8 years ago • 4 comments

Hi, with the 0.2.0, my icons when applied have a lighter color than the original one. (top original, bottom applied)

image

image

Attached you find both icons if you need them for testing purposes. Archive.zip

FezVrasta avatar Oct 16 '17 16:10 FezVrasta

That's odd.

I've switched from sips -i to using the NSWorkSpace.setIcon:forFile Cocoa API, so as to support macOS 10.13+ and also bring higher resolutions to earlier versions.

I don't see any options regarding colors there, unfortunately.

mklement0 avatar Oct 16 '17 18:10 mklement0

Maybe related to this? https://github.com/atom/atom/issues/15410

But both my icons look good when opened with preview or applied manually 🤔

FezVrasta avatar Oct 17 '17 15:10 FezVrasta

@FezVrasta: Thanks for the link - it does sound related, but the fix there was to statically generate a new set of icons, so I'm not aware of any solution yet.

The link mentions color profiles, but the API I use has no parameters for that.

mklement0 avatar Oct 18 '17 12:10 mklement0

could it be that a color profile is attached to the image?

relikd avatar Jan 23 '20 11:01 relikd