Upload PNG using widget with crop converts image to JPG

I implemented the UploadCare widget into our application and whenever I upload a transparent PNG image (or any PNG for that matter), it converts the image to a JPG with a solid black background. Based on this thread I assume it is happening due to the cropping that is happening. Are we able to crop and still retain the transparency?



I think I found my own answer. My widget was auto-resizing which applies the JPEG compression.

Hi @eric, you’re right. Image shrink can lead to changing the format to JPEG.