Saving images in various image file formats
Zapisywanie obrazu w różnych formatach graficznych
image file formats,
to save an image in different file formats,
how to select the appropriate image file format for its purpose.
What are imageimage files used for?
Does the file size affect the image quality?
Does the purpose of an image influence the choice of its file formatfile format?
The criteria of selecting the image file format are based on:
the quality and size of the imageimage intended for printing,
the available space on a local disc or in a cloud,
the speed of opening and saving the image,
the purpose of the image (the image intended for placing on a web site).
A filename extension is a suffix to the name of a computer file following the last occurrence of the dot character that indicates a specific file type. Due to historical reasons (the DOS operating system) filename extensions usually consist of three characters. In Windows, filename extensions are used to assign file types to appropriate programmes that enable editing them.
A raster graphicsraster graphics is an image consisting of pixels arranged side by side, which form the grid of coloured points. Such images are also called bitmaps. They are usually created by devices such as a digital camera or scanner.
Download any image from the internet. Enlarge it until you will see the separate points of the bitmapbitmap.
After you have edited your image, it is crucial to select the file formatfile format in which you will save it. Your choice will affect the quality of the image and the size of the file in which it will be stored. The choice of the file format is determined by the following factors:
the purpose of the image,
its size,
its quality,
the available disc space.
![Zrzut ekranu - Zapisywanie obrazu w programie Paint. Wybór typu pliku. Do wyboru mamy zaznaczony jako aktywny PNG (*.png) oraz Monochrome Bitmap (*.bmp; *.dib), 256 Color Bitmap (*.bmp; *.dib), 24-bit Bitmap (*.bmp; *.dib), JPEG (*.jpg, *.jpeg, *.jpe, *.jfif), GIF (*.gif), TIFF (*.tif, *.tiff).](https://static.zpe.gov.pl/portal/f/res-minimized/R1OmknFgGQBzy/1/UCkpHBM5urcHh2a9LFP0vHBrOK1rEW4O.png)
BMP is a bitmaps supported by Windows. Their advantages are their simple structure and a common support by the Windows applications, while their disadvantage is the large file size. Bitmaps can support various colour palettes.
JPG is the most popular image file formatfile format using lossy compressionlossy compression, which can be characterised by the change of the colour value of particular pixels – this effect is not perceptible by human. It is used most of all for web images and by digital cameras. Its huge compression ratio can cause a significant reduction in the file size. Most applications are able to automatically adjust the compression to the visual quality of an imageimage.
PNG is a popular image file format supported by all web browsers. It is a non‑patented replacement for GIF. It supports lossless data compression and transparency. This file format is becoming more and more popular.
GIF is a file format supported by all web browsers that is the most suitable for storing images in a few colours. Its own colour palette is reduced to 256 colours, which may affect the quality of an image. GIF files can be animated.
TIFF is universally accepted as a standard of image files among the publishing industry. It enables using lossy and lossless compressionlossless compression. It is not suited to be used on web sites due to its large file size.
The size of raster imageimage files is positively correlated with the number of pixels in the image and the depth of colours (the number of bits per pixel). Compression is a method of reducing the number of bits needed to express a piece of information. Images can be compressed by using various methods. Lossy compressionLossy compression is a type of data compression that does not ensure that the reconstructed information will be identical to the original. Lossless compressionLossless compression is a type of data compression that allows the original data to be perfectly reconstructed from the compressed data.
In any image editor, open an image and save it in the folder Image under the name imagex, where x is the consecutive number of the file. Select a different file formatfile format for each file:
monochromatic bitmapbitmap,
16‑colour bitmap,
256‑colour bitmap,
24‑colour bitmap,
JPG,
GIF,
TIFF,
PNG.
Create a table in which you will compare in columns the quality of the image and the size of the file in which it is stored. Repeat the task for the imageimage you have received from your teacher.
When you select the image file format, you must take into account:
its purpose (e.g. for placing on a web site, for printing etc.),
its file size (the disc space taken up by the file),
the quality you want to obtain.
The most popular image file formats are:
BMP,
JPG,
GIF,
TIFF.
Exercises
Identify true sentences about image file formats.
- GIF is a file format of the limited number of colours.
- TIFF is a file format that ensures high image quality and takes up little disc space.
- JPG is a file format of lossy compression.
- TIFF is a file format that is often used for images placed on web sites.
- BMP is a file format that takes up little disc space.
- JPG is a file format in which pixel colours may be different from the original image.
On the internet find the information about the RAW image file format. What is it used for the most frequently and why?
Describe in English the most popular image file formats (BMP, JPG, GIF, TIFF).
Indicate which pairs of expressions or words are translated correctly.
- format pliku - file format
- grafika rastrowa - raster graphics
- obraz - image
- bitmapa - bitmap
- kompresja bezstratna - lossy compression
- kompresja stratna - lossless compression
- obraz
- image
- format pliku
- grafika rastrowa
- file format
- raster graphics
Glossary
bitmapa
Nagranie dostępne na portalu epodreczniki.pl
wymowa w języku angielskim: bitmap
format pliku
Nagranie dostępne na portalu epodreczniki.pl
wymowa w języku angielskim: file format
obraz
Nagranie dostępne na portalu epodreczniki.pl
wymowa w języku angielskim: image
kompresja bezstratna
Nagranie dostępne na portalu epodreczniki.pl
wymowa w języku angielskim: lossless compression
kompresja stratna
Nagranie dostępne na portalu epodreczniki.pl
wymowa w języku angielskim: lossy compression
grafika rastrowa
Nagranie dostępne na portalu epodreczniki.pl
wymowa w języku angielskim: raster graphics
Keywords
file formatfile format
imageimage
raster graphicsraster graphics