
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The process of converting images from png to jpeg format, highlighting the challenges that arise when dealing with transparent colors. It explains that the conversion is more complicated if the png source uses a transparent color, as jpeg does not have a way to represent transparency. The document notes that if an alternate value for the transparent color is not specified, it may be mapped to black or another color, which may not be the desired outcome. A high-level overview of the image conversion process, focusing on the handling of transparent colors, and could be useful for students or professionals working with image processing and manipulation.
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!

An ‘algorithm’ is: encode_png(png_stream, decode_jpeg(jpeg_stream)) Note that converting from png to JPEG is slightly more complicated if the png source uses the transparent color since JPEG doesn’t have a way to represent the transparent color and if you don’t specify an alternate value for the transparent color it may be mapped to black or some other color which is probably not you want .