Adjusting the image quality and file size

There are times when you do not need a full-resolution image. This recipe will explain how to export an image with compression so that the image quality is decreased, along with the size of the file.

Getting ready

You will need a file open to export.

How to do it…

The following steps will explain how to change the image quality:

  1. Navigate to File | Export (Single Layer) | .jpg (JPEG).

    Note

    This will only work for lossy file formats, such as .jpg. Other formats, such as .png, are lossless. To reduce the file size of a .png, .bmp, or .psd file, the image will have to be resized using the directions in the next recipe.

  2. Name the file and choose a folder to save it in. Click on Save.
  3. The JPEG export settings dialog box will appear. Click on the checkbox next to Preview rendering results on output at the top of the window.
  4. Under JPEG settings, find the Quality setting. It is marked in this screenshot:
    How to do it…
  5. Click on the arrow next to the number box and adjust the slider, or use the up and down arrows to change the compression of the output file.

    Tip

    Checking the Preview rendering result on output box will allow you to see and adjust the compression on the next screen, so don't be too concerned about getting it perfect just now. We can change the settings even after clicking on OK.

  6. Click on OK.
  7. The Export preview window will now appear. If needed, continue to adjust the quality using the setting in the bottom-right corner of the preview window.
  8. Click on OK.

How it works…

The lower the number set in the Quality option, the lower the file size of the export. As shown in the following screenshot, the Quality option is set to 80. Note the fairly large file size, at over 880 KB.

How it works…

We can make the final file smaller by adjusting the quality down even more. By doing this, we sacrifice the quality of the image. Note how much the file size has gone down in the following screenshot, but also note how pixelated the image has become because of the low quality, especially around the gradients and the black lines:

How it works…
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.22.164