4.3. Make JPEGs Smaller
| 4. GIMPLite Quickies |

### 4.3. Make JPEGs Smaller

Rysunek 3.20. 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 Sekcja 4.2, „Change the Size of an Image (Scale)”). Use File → Save As to open the Save Image dialog.

Rysunek 3.21. 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 Sekcja 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.

Rysunek 3.22. 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.

Rysunek 3.23. 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.

Rysunek 3.24. Example for High JPEG Compression

Quality: 6; Size: 1361 Bytes

Quality: 42; Size: 3549 Bytes

Rysunek 3.25. Example for Moderate JPEG Compression

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

Quality: 100; Size: 20,971 Bytes

4.2. Change the Size of an Image (Scale) |  | 4.4. Crop An Image