same issue. EE should simply do a good job. Users won’t understand that you are allowed to upload images, to resize images, but not all images. They won’t remember and make the mistrake the next time all over again.
Either the resize option should be disabled after uploading an PNG, PNG should not be allowed at all, or - the best solution - it should simply do a good resize job.
the fault does not lie with PHP/GD2 in this case. I went to a little extra effort to support 8-bit transparency when resizing GIF and PNG images for the Simple S3 Uploader custom fieldtype I created a little while ago and it works pretty well. I’m pretty sure it’s also possible for PHP/GD2 to support 24-bit alpha layer transparency in the case of the PNG-24 format but I didn’t go that far in my code.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.