Transparent PNG To JPG Conversion
Converting a semi-transparent PNG to a JPG without severe artifacts or “transparent area color meshing” is a much harder task than you would expect. I thought it would be as simple as loading the image into Image_Transform and using _generate(null, ‘jpg’) to convert the image to a jpeg. Well, that code will convert it to a jpeg, but all the areas that are semi-transparent end up looking absolutely horrible becoming sort of flattened…
Continue Reading