1.2 Multimedia (3)

Resources | Revision Questions | Computer Science

Login to see all questions

Click on a question to view the answer

1.

Consider a simple SVG file representing a red circle with a radius of 50 pixels, positioned at coordinates (100, 100). Provide the SVG code for this circle, including the necessary tags and attributes. Explain the role of the `transform` attribute in modifying the position and size of the circle.

2.

Consider a bitmap image where each pixel is represented by a byte. The image has a width of 256 pixels and a height of 256 pixels. What is the estimated file size of the image in megabytes (MB)? Show your working.

3.

Explain how applying image compression techniques, such as JPEG or PNG, affects both the file size and the visual quality of a bitmap image. Discuss the different compression methods used in JPEG and PNG and their respective advantages and disadvantages.