mklement0 / fileicon

macOS CLI for managing custom icons for files and folders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lighter colors with 0.2.0

FezVrasta opened this issue · 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

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.

Maybe related to this?
atom/atom#15410

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

@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.

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