With raster graphics, the number of pixels or dots per inch has a direct effect on the resolution of your image, and how much it can be resized before becoming distorted. The resolution of this type of image is measured in the number of pixels per square inch of your design or photo, which is also known as dots per inch, or dpi.