5.2. Import File Formats

When opening a non-XCF image, some file formats have additional options that can be set to determine how GIMP will open the image. If that is the case, then a new dialog will open. This section will document the dialogs for all file formats that have such an import options dialog.

5.2.1. Імпорт з PDF

Рисунок 15.57. Вікно імпортування PDF

Вікно імпортування PDF

If you select a PDF file to open, GIMP will show an extra dialog with options specific to this file type.

Вибір сторінки

You can select pages by typing one or more page numbers or ranges, separated by commas. For example, 4-7,9 selects pages 4, 5, 6, 7, and 9 of the document. The default is to select all of the pages in the document.

Відкрити сторінки як

If this is set to Images, then GIMP will open each of the selected pages as a separate image. If it is set to Layers, then GIMP will create one image with each of the selected pages in its own layer.

Завантажити у зворотному порядку

By default the first page is loaded first, meaning it will become the bottom layer. If you check this option, the first page will be loaded last and become the top-most layer.

Розмір зображення

The size of the image created is controlled by the Width, Height, and Resolution settings. A PDF document contains information about its width and height in units of physical length so it is meaningful to set the width or height of the image in pixels or its resolution in pixels per physical unit of length: as you set any of these three parameters, the other two will automatically adjust to match.

Використовувати згладжування

Check this box to apply antialiasing to text in the image.

Заповнення прозорих областей білим

When checked, all transparent areas in PDF pages will be filled with white. When unchecked, transparent areas will stay transparent.

5.2.2. Завантажити з PostScript

Рисунок 15.58. Вікно імпортування Postscript

Вікно імпортування Postscript

If you select a PostScript file to open, GIMP will show an extra dialog with options specific to this file type.

Обробка

The size of the image created is controlled by the Width, Height, and Resolution settings. A PostScript document contains information about its width and height in units of physical length so it is meaningful to set the width or height of the image in pixels or its resolution in pixels per physical unit of length: as you set any of these three parameters, the other two will automatically adjust to match.

Фарбування

Select B/W to have GIMP create the image as a 2-color indexed image, Gray for a grayscale image, or Color for an RGB image (see Розділ 1, «Image Types» for a full explanation of these different image modes). If you select Automatic then GIMP will try to determine the most suitable mode from the contents of the file.

Обмежувати розмір

If this is checked, GIMP will use the bounding box information in the PostScript file to determine how much of the page to use: effectively, this is equivalent to cropping whitespace from the edges of the image. It is possible for a PostScript file to contain no bounding box information, in which case this option will be ignored.

Сторінки

You can select pages by typing one or more page numbers or ranges, separated by commas. For example, 4-7,9 selects pages 4, 5, 6, 7, and 9 of the document. The default is to select all of the pages in the document. Note: this is only visible if there is more than one page.

Відкрити як

If this is set to Images, then GIMP will open each of the selected pages as a separate image. If it is set to Layers, then GIMP will create one image with each of the selected pages in its own layer. Note: this is only visible if there is more than one page.

Згладжування

You can choose to have GIMP apply antialiasing separately for text and for graphics in the imported image. Either Weak or Strong antialiasing may be applied: usually you should select Strong.