One of the most common uses for GIMP, is to prepare images for web sites. This means that images should look as nice as possible while keeping the file size as small as possible. This step-by-step guide demonstrates how to create small files with minimal loss of image quality.
An optimal image for the web depends upon the image type and the file format. Use JPEG for Photographs because they usually have many colors and great detail. An image with fewer colors, such as a button, icon, or screenshot, is better suited to the PNG format.
먼저 이미지를 엽니다. 여기서는 윌버 그림을 예제로 사용하였습니다.
위 이미지는 알파 채널이 추가된 RGB 모드(RGBA)로 되어 있습니다. 하지만 일반적으로 웹이미지에는 알파채널이 필요 없습니다. 따라서 배경으로 합치기를 통해 알파채널을 없애도 됩니다.
A photograph rarely has an alpha channel, so the image will open in RGB mode rather than RGBA mode; and you won't have to remove the alpha channel.
참고 | |
---|---|
If the image has a soft transition into the transparent areas, you should not remove the alpha channel, since the information used for the transition is not be saved in the file. To export an image with transparent areas that do not have a soft transition, (similar to GIF), remove the alpha channel. |
After you have flattened the image, export the image in the PNG format for your web site.
참고 | |
---|---|
You can export your image in the PNG format with the default settings. Always using maximum compression when creating the image. Maximum compression has no affect on image quality or the time required to display the image, but it does take longer to export. A JPEG image, however, loses quality as the compression is increased. If your image is a photograph with lots of colors, you should use jpeg. The main thing is to find the best tradeoff between quality and compression. You can find more information about this topic in 1.2.2절. “Export Image as JPEG”. |