Capítulo 6. Obtendo imagens fora do GIMP

Índice

1. Arquivos
1.1. Salvar / Exportar imagens
1.2. Formatos de arquivo
2. Preparando suas imagens para a Web
2.1. Imagens coma relação ótima entre tamanho e qualidade
2.2. Reduzindo o tamanho do arquivo ainda mais
2.3. Exportando imagens com transparência

1. Arquivos

GIMP is capable of reading and writing a large variety of graphics file formats. With the exception of GIMP's native XCF file format, file handling is done by plug-ins. This makes it relatively easy to extend GIMP to support new file types when the need arises.

1.1. Salvar / Exportar imagens

[Nota] Nota

When you open an image, let's say in JPG or PNG file format, it is imported into GIMP's own XCF format, as a new project.

For example, a sunflower.png image will be loaded as *[sunflower] (imported)-1.0 (indexed color, 1 layer). The leading asterisk indicates that this file has been changed. This image can be saved as sunflower.xcf by using the Save command. If you need your image in another format, you should use the Export command.

When you are finished working with an image, you will save the results. In fact, it is often a good idea to save at intermediate stages too. GIMP is a pretty robust program, but on rare occasions crashes have happened.

GIMP's native format XCF is special. It is the only format that can store everything about an image (with the exception of undo information). This is the reason that saving can only be done in this format. It makes the XCF format especially suited for storing intermediate results, and for saving images to be re-opened later in GIMP.

XCF files are not readable by most other programs that display images. Once you have finished editing your image, you can export it to the format of your choice. GIMP supports a wide range of formats. Most file formats that can be imported, can also be used for exporting.

1.2. Formatos de arquivo

There are several commands for saving and exporting images. They are listed in the section covering the File Menu. More information on how to use them can be found there.

O GIMP permite que você salve as imagens que cria numa grande variedade de formatos. É importante ter sempre em mente que o único formato que pode preservar todas as informações de uma imagem, incluindo camadas, transparência, etc... é o formato XCF nativo do GIMP. Todos os outros formatos preservam algumas propriedades da imagem e perdem outras, e a maior parte sequer pode preservar camadas. É importante entender as capacidades do formato que você escolhe para o uso de sua imagem fora do GIMP.

Exportar uma imagem não modifica a imagem em si, portanto você não perde nada ao exportar. Veja Exportar arquivo.

[Nota] Nota

Quando você fecha uma imagem (possivelmente ao sair do GIMP), você é avisado de que a imagem está suja. Ou seja: ela foi alterada sem ter sido salva depois das alterações (há um asterisco na frente do nome da imagem).

Figura 6.1. Aviso ao fechar

Aviso ao fechar

Saving an image in GIMP's native format XCF will cause the image to be considered "not dirty". On the contrary, exporting an image will not change it to "not dirty", because GIMP can't know for sure that no image information will be lost.