I’m using Pngyu to compress png’s with a transparent background. When thumbnails are generated by EE’s file manager the transparent pixels are replaced with black pixels. Non-optimised png’s don’t have this issue. I’m not doing any manipulation such as rotating.
Pngyu uses ImageAlpha, TinyPNG and pngquant.