Does using imageShrink with the fileupload widget always convert PNG to JPEG?

Hey,

I’ve got users uploading logos and allow both PNG and JPEG upload through the fileupload widget. I’ve also got the imageShrink property set to keep the upload size down.

I’ve just noticed that with PNGs that have a large resolution and so need shrinking, even when they have transparent pixels they will be converted to JPEG and hence be given a black background. Is that always the case and intentional, and if so is there a way around this?

cheers,
Nick

Hi @nickeday,

By design, if the source image is a PNG and it has transparent pixels, the shrinked image will be PNG with opacity as well. I have been to reproduce the issue and reported it to our widget team. I’ll let you know on any updates.