Image Conversion Algorithms: Handling Transparency, Exams of Multimedia Applications

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

2020/2021

Uploaded on 11/25/2022

shehab-eldin-said
shehab-eldin-said 🇪🇬

6 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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
.

Partial preview of the text

Download Image Conversion Algorithms: Handling Transparency and more Exams Multimedia Applications in PDF only on Docsity!

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 .