GIMPx.ru

4.3. Make JPEGs Smaller

Figure 3.20. Example Image for JPEG Saving

Example Image for JPEG Saving

You can make your jpegs smaller (use less space on disk) without changing the image dimensions. The image for this example is also take from APOD [APOD04]. The original image is huge (3000 pixels wide) so first I reduced the width and height for better use on the web (see Section 4.2, “Change the Size of an Image (Scale)”). Use File ? Save As to open the Save Image dialog.

Figure 3.21. Save Image Dialog

Save Image Dialog

I usually type the full filename with extension into Name text box, and GIMP determines the file type from the file extension; for example, .jpg. Use the file extension list, circled in the figure above, to see the types supported by GIMP. The supported extensions change depending on your installed libraries. If GIMP complains, or if JPEG is grayed out in the Extensions menu, cancel out of everything and step through the Section 4.6, “Change the Mode”.

The Save as JPEG dialog uses default values that reduce size while retaining good visual quality; this is the safest and quickest thing to do.

Figure 3.22. Save as JEPG dialog with poor quality.

Save as JEPG dialog with poor quality.

Reduce the image Quality to to make the image even smaller. Reduced quality degrades the image, so be certain to check Show preview in image window. As shown in the figure above, a Quality of 6 produces a very poor quality image that uses very little disk space. The figure below shows a more reasonable image. A quality of 42 produces a reasonable image using much less disk space, which will, in turn, load much faster on a web page. Although the image is degraded, it is acceptable for the intended purpose.

Figure 3.23. Dialog for Image Saving as JPEG

Dialog for Image Saving as JPEG

I have not been showing the actual jpegs I created so that we could end this quickie with a race.

Figure 3.24. Example for High JPEG Compression

Example for High JPEG Compression

Quality: 6; Size: 1361 Bytes

Example for High JPEG Compression

Quality: 42; Size: 3549 Bytes


Figure 3.25. Example for Moderate JPEG Compression

Example for Moderate JPEG Compression

Quality: 85 (GIMPs default); Size: 6837 Bytes

Example for Moderate JPEG Compression

Quality: 100; Size: 20,971 Bytes