Image Manager and PNGs

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
180michael
Forum Members
Forum Members
Posts: 27
Joined: Fri Dec 26, 2008 9:29 pm

Image Manager and PNGs

Post 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!
180michael
Forum Members
Forum Members
Posts: 27
Joined: Fri Dec 26, 2008 9:29 pm

Re: Image Manager and PNGs

Post 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?
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Image Manager and PNGs

Post by jmcgin51 »

please submit a feature request in the Forge for this.  it is more likely to go unnoticed here in the forums
180michael
Forum Members
Forum Members
Posts: 27
Joined: Fri Dec 26, 2008 9:29 pm

Re: Image Manager and PNGs

Post by 180michael »

Done.
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 259
Joined: Tue Jun 12, 2007 1:29 pm

Re: Image Manager and PNGs

Post 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.
Post Reply

Return to “CMSMS Core”