MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER GRAPHICS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which image file format should be used to save an image with a transparent background for use on a Web page?
A
PNG
B
TIFF
C
BMP
D
JPEG
Explanation: 

Detailed explanation-1: -The GIF and PNG formats also both support transparency. If you need any level of transparency in your image, you must use either a GIF or a PNG. GIF images (and also PNG) support 1-color transparency. This basically means that you can save your image with a transparent background.

Detailed explanation-2: -An important benefit, and oftentimes deciding factor for using a PNG file, is that–unlike a JPG–they support transparency. This allows you to have a transparent background around an irregular-shaped object and avoid a white (or other colored) box outlining your image.

Detailed explanation-3: -If you want a fast loading compressed image, choose a JPG format. If you are looking for a high quality, clear image, choose a PNG. What kind of file type should I use for my website logo? PNGs support transparency, and it is the best option for website logos that need to appear on various color backgrounds.

Detailed explanation-4: -JPEGs and PNGs are both types of raster image files. This means they’re made up of a fixed number of color pixels-rather than the grids, points, and mathematical formulas used in vector files. Raster files allow plenty of detail to be displayed but lose their resolution when significantly resized.

Detailed explanation-5: -The PNG format uses lossless compression, which means that this file type retains of all its original data when compressed. This makes PNGs great for detailed graphics and charts on websites because none of the vital information gets lost.

There is 1 question to complete.