Page 1 of 1

Image Manager and PNGs

Posted: Tue Jul 07, 2009 9:17 pm
by 180michael
Hello,

I've tried searching for this but with no luck. Can anyone tell me why png images will not resize in image manager (thumbs) without loosing the transparency to a black canvas? I need to use the image manager for a module I'm working on but every time it copies over the png images they loose their transparency and gain a white border.

I have the GD library installed with support for all formats. GIFs work fine.

cmsms 1.6; Filemanager: 1.0; PHP 5; Apache server on linux.

Thanks!

Re: Image Manager and PNGs

Posted: Wed Jul 08, 2009 6:10 pm
by 180michael
Update:

I found out that this is actually dependent on the GD library. Take a look at http://www.akemapa.com/2008/07/10/php-gd-resize-transparent-image-png-gif/.

Can this please be implemented in Image Manager's GD class for next release?

Re: Image Manager and PNGs

Posted: Wed Jul 08, 2009 6:40 pm
by jmcgin51
please submit a feature request in the Forge for this.  it is more likely to go unnoticed here in the forums

Re: Image Manager and PNGs

Posted: Wed Jul 08, 2009 7:10 pm
by 180michael
Done.

Re: Image Manager and PNGs

Posted: Fri Jul 31, 2009 9:10 pm
by Franck
I think you should have put it in the CMSMS core features request. Image Manager module seems not to be continued.

I also noticed the upload by the image manager of a png file with transparency results in a non-transparent file. Same kind of problem.