Hi,I use Compass since few weeks, and I realize last week that generated sprites have a color issue. In fact, all black pixels in original images become transparent. It's like it considers #000000 as an alpha mask.I tried to uninstall / install compass, chunky_png and oily_png, but nothing happens. Or no, it worked ! Like 2 hours, and next generation was bad again.I can't understand, sometimes I remove oily and it works, and after, it goes wrong. I reinstall oily, and nothing happens. Or sometimes it works.Well, I have no explanation. Same issue appears on 3 different machine with same configuration with same random results :Debian SqueezeCompass 0.12.2 (Alnilam)Sass 3.1.19 (Brainy Betty)chunky_png (1.2.5)oily_png (1.0.2)gem 1.8
Hi, Clémont. So glad to see someone else was having this obscure problem too. It took me a while to find this article after I finally realized the problem was mostly random. This problem has been plaguing me for two days now, whether using chunky_png or oily_png . For me it's white that is turning transparent for all images in the sprite map. I'm guessing it has to do with images with an indexed color pallet with a color that is set to be transparent.Do you have the imagemagick command to convert RGB to RGBA? I tried this:$ convert $file -channel rgba -alpha on -colorspace rgb $filebut it darkened all my images and I'm still having the problem.I'm continue researching the imagemagick docs. If I figure out it out before you (or don't) post back, I will post back with those details. That will make this article even more helpful for anyone else having this problem. Keywords: compass, sprite, transparent, transparency, issue, problem.Thanks so much for posting this! It set me on the path.Bill