Leave transparencies in provided PNG-files

Description

Currently images for Events are resized. During that process transparencies in PNG-images are lost and - more anoying - are replaced with black. We should either replace the transparency with white or try to keep it!

Activity

Show:

Mark Railton October 2, 2016 at 10:50 AM

Merge accepted

Mark Railton October 2, 2016 at 9:22 AM

Change has been merged, just pending closing as don't have close access on JIRA

Liam September 30, 2016 at 11:29 PM

Yes, you're probably right.

Looks like it's in the createImage method of EventImagesController.php

I had a similar problem with a project a while ago, I seem to remember I had to do some strange things with `imagealphablending` and `imagesavealpha` to get it to play nice...

Otherwise, re-colouring the image created by imagecreatetruecolor to white before adding the resampled image on top would probably work...

Calum Bulmer September 30, 2016 at 8:48 PM

Is this not an API issue???

Image resizing appears to be done in the API

Fixed

Details

Assignee

Reporter

Labels

Components

Priority

Created September 13, 2016 at 5:07 PM
Updated October 2, 2016 at 10:50 AM
Resolved October 2, 2016 at 10:50 AM