follmann / favicon_maker

Create favicon files in various sizes from a base image for ruby projects
MIT License
70 stars 7 forks source link

retain transparency #4

Closed ametalon closed 11 years ago

ametalon commented 11 years ago

Option "flatten" removes transparency from generated images. http://www.imagemagick.org/script/command-line-options.php#layers

And we can dispose of uniform color bug with "colorspace" option http://stackoverflow.com/questions/13273609/imagemagick-changes-colors-when-converting-pdf-to-images

follmann commented 11 years ago

Well it seems it has a negative effect on possibly included color profile information. It works good for uniform colored icons, but my other test image look much darker than the original. But I will release sth else shortly...

ametalon commented 11 years ago

Maybe this helps http://www.imagemagick.org/Usage/resize/#resize_colorspace