Download GNU Image Manipulation Program - Domain skolekonsulenterne.dk

Transcript
CHAPTER 6. USING GIMP AS AN INTERMEDIATE
6.5. PREPARING YOUR IMAGES FOR THE WEB
file. In the JPEG save dialog, check the option to “Preview in image window”, and then adjust
the Quality slider to the lowest level that gives you acceptable image quality. (You will see in the
image the effects of each change.) Make sure that the image is zoomed at 1:1 while you do this, so
you are not misled by the effects of zooming.
See the File Formats section for more information.
Vı́ce se dozvı́te v části Souborové formáty.
6.4.6.2. Printing Your Photos
[This needs to be written.]
6.4.6.3. EXIF Data
Modern digital cameras, when you take a picture, add information to the data file about the camera
settings and the circumstances under which the picture was taken. This data is included in JPEG or
TIFF files in a structured format called EXIF. For JPEG files, Gimp is capable of maintaining EXIF data,
if it is built appropriately: it depends on a library called “libexif”, which may not be available on all
systems. If Gimp is built with EXIF support enabled, then loading a JPEG file with EXIF data, and
resaving the resulting image in JPEG format, will cause the EXIF data to be preserved unchanged. This
is not, strictly speaking, the right way for an image editor to handle EXIF data, but it is better than
simply removing it, which is what earlier versions of Gimp did.
If you would like to see the contents of the EXIF data, you can download from the registry an Exif
Browser plug-in <http://registry.gimp.org/plugin?id=4153>. If you are able to build and
install it on your system, you can access it as Filters->Generic->Exif Browser from the image menu. (See
Installing New Plug-ins for help.)
6.5. Preparing your Images for the web
One of the most common purposes GIMP is used for, is to prepare images for adding them to a web
site. This means, images should look as nice as possible while keeping the file size as small as possible.
This little step-by-step guide will tell you how to achieve a smaller file size with minimal degradation
of image quality.
6.5.1. Images with an optimal Size/Quality Ratio
An optimal image for the web depends on the image type and the fileformat you’ve to use. If you want
to put a photograph with a lot of colors online, you have to use JPEG as your primary fileformat. If it
contains less colors, is not a photograph and more a drawing you created (like a button or a screenshot)
you better stay with the PNG format. We’ll guide you through the last described process.
1. First open the image as usual. I opened our Wilber as an example image.
Figure 6.3. The Wilber image opened in the RGBA mode.
2. The image is now in RGB mode with an additional alpha channel (RGBA). There is mostly no need
to have an alpha channel for your web image. You can remove the Alpha channel by flattening the
Image. If you open a photograph, you probably don’t have to remove an alpha channel, because
it is already opened in RGB mode.
3. After flattening, you are able to save the image in PNG Format for your homepage.
91