Raster graphics and vector graphics are the two fundamental structures for digital images
Raster images (also called bitmaps) are made up of pixels, stored and displayed in a rectangular grid. Each pixel can be a different colour. All images acquired by digital cameras and camcorders, scanners and screen capture programs are bitmapped images. Programmes such as Photoshop and MS Paint create and edit raster images.
Vector graphics are made up of “paths”. They use mathematical relationships between points on a page and the points that connect them. They can be scaled/resized without any loss of quality. They are used for line art, illustration, logo design before being converted to a web graphic format. Programmes such as CorelDraw and Adobe Illustrator are used to create and edit them.
File Formats
Some of the most common picture file formats are GIF, JPEG and PNG, (which are all raster graphic formats).
GIF – 256 colours, supports transparency and animation and has a lossless compression. Used for diagrams
JPEG – 16 million colours, suited to photos and graphics. Uses a lossy compression so line drawings/type looks distorted. Good for compression
PNG – developed to supersede GIF and a vast improvement.
Embedding graphics on my webpage
My graphics are embedded onto this page about my holiday. The first is an example of a remote file, hosted on the tripadvisor website and the other two are relative files, hosted on my local file space. The disadvantage of using the remote image is that the picture won’t display if it is moved or removed from the tripadvisor website. The relative link to my files is also dependent on me not deleting/moving them, but this is within my control.
A practical use in the library environment
When you search the online OPAC using our Library Management System (Heritage), the results include a picture of the book jacket alongside the record. These pictures are remote links to the .jpg image on the Amazon website using the ISBN data.

This makes it easier for our students to find books in the catalogue, as they are often unsure of the title, but will recognise the cover. It is also good for Amazon, because if a student wants a book and finds its not in the library, they can buy it from Amazon instead.
This is a specific record showing the record and the cover image:

Obviously this doesn’t work if our record doesn’t have an ISBN number or if the book is unavailable on Amazon, but it is a good example of the application of graphics in our library IT systems.