Vector and Raster Images
Step 2
Resolution
DPI (Dots Per Inch)
Only raster images are made of dots, so only raster images have a resolution, or a number of dots per inch (or sometimes, "PPI" which stands for Pixels Per Inch). The DPI of an image is defined when the image file is first created. While graphics applications like Photoshop can enlarge a raster image after it is created, the enlarging process requires the application to guess at the color of the new pixels needed to fill the space between the original pixels.
Compression
Because of all the dots, high-resolution raster images can get quite large. Large files take longer to transmit over the internet and take more hard drive space to store. Compression techniques try to reduce the file size while maintaining reasonable visual quality.* The example on the right, above is heavily compressed using the JPG compression techinique, as a result that image is useless for printing.
MUCH WORSE
Tip
The size of a file can be a good indicator of resolution, bigger files are usually higher resolution and therefore can be of higher quality. If you're trying to find a high-quality image file, start with the biggest files first.