Supported File Formats for Images

This topic provides short descriptions of the supported image formats. It also lists operations which can be carried out on each image format.

Graphics Mill supports the following file formats:

• BMP

• EPS File Format

• GIF File Format

• IDML File Format

• JPEG File Format

• PDF File Format

• PNG File Format

• PSD File Format

• RAW File Format

• SVG File Format

• TARGA File Format

• TIFF File Format

• WebP File Format

One of the main characteristics of an image format is the set of corresponding formats. This defines a number of bits of memory associated with one pixel of data and an order of color components within a single pixel. The image formats listed above support one or several pixel formats.

BMP File Format

BMP ( Picture) is a standard bitmap image format used to store digital images on Windows operating systems. BMP range from monochrome (1 bit per pixel) to 32 bit color images. The BMP format can store both indexed and full-color images in various color depths, and optionally with , and color profiles.

MIME Type

image/bmp

File Extensions

*.bmp, *.dib, *.rle

Supported Format Features

Name Description

BmpSettings.Compression A compression type of BMP files. It can be either uncompressed for any allowed BMP file pixel formats, or use RLE compression for 4- bit and 8-bit .

EPS File Format

EPS (Encapsulated PostScript) is a PostScript document used as a graphics file format. An EPS file may contain both raster and vector data descripted by the PostScript language.

MIME Type

application/

File Extension

*.eps

Supported Format Features

Name Description Name Description

Working with EPS Two ways to create EPS documents.

Graphics: Drawing Images and How to draw on EPS.

Geometric Shapes

GIF File Format

GIF (Graphics Interchange Format) is a bitmap image format which works well for saving any type of or 256 color image. The color limitation makes the GIF format unsuitable for reproducing color photographs and other images with continuous color, but it is well-suited for simpler images such as graphics or logos with solid areas of color. The GIF image format supports animations and one- dimensional interlacing (a method of progressive displaying). GIF interlacing makes this format convenient for transmission of images across slow communication links.

MIME Type

image/

File Extension

*.gif

Supported Format Features

Name Description

Codecs.GifSettings Writer settings in GIF format.

Loading and Saving Processing animated GIF images: creating a new animated GIF file, Name Description

Animated loading an existing one, resizing animated GIFs.

IDML File Format

IDML (InDesign Markup Language) is an XML-based data format of the Adobe® InDesign® publishing software. An IDML file represents a ZIP archive containing a set of files and folders.

MIME Type

application/vnd.adobe.indesign-idml-package

File Extension

*.idml

JPEG File Format

JPEG (Joint Photographic Experts Group) is the most popular bitmap image format for storing digital photos using . The JPEG format was designed for compressing either grayscale or full-color images of real-world scenes. It supports the sequential and progressive compression schemes, subsampling, and setting a quality range from 0 to 100.

MIME Type

image/

File Extensions

*.jpeg, *.jpg, *.jfif, *.jpe

Supported Format Features Name Description

Applying Lossless JPEG Implementing lossless JPEG operations (rotating, flipping, cropping,

Transforms updating ) using Graphics Mill

Working with Metadata Processing metadata: reading and writing , IPTC, XMP metadata, and Adobe Image Resource Blocks. Preserving metadata while processing images.

Working with JPEG JPEG compression algorithm and Graphics Mill JPEG writer settings.

PDF File Format

PDF (Portable Document Format) was developed by Adobe Systems, Inc. for secure and reliable distribution of electronic documents independent of software, hardware, and operating system. In general, a PDF file includes a complete description of a fixed-layout flat document such as the text, fonts, graphics, and other information needed to display it.

MIME Type

application/

File Extension

*.pdf

Supported Format Features

Name Description

Working with PDF Two ways to create PDF documents. Name Description

Graphics: Drawing Images and How to draw on PDF.

Geometric Shapes

PNG File Format

PNG (Portable Network Graphics) was created to replace the obsolete GIF format due to a legal problem caused by the LZW algorithm used in GIF. In comparison with GIF, the PNG format has three main advantages:

• alpha (variable ),

(cross-platform control of image ),

• two-dimensional interlacing (method of progressive displaying).

PNG supports -based images with palettes of 24-bit RGB or 32-bit RGBA colors, grayscale images (with or without alpha channel), and full-color non- palette-based images with or without alpha channel.

MIME Type image/png

File Extension

*.png

Supported Format Features

Name Description

PngSettings.IsInterlaced A value that specifies if a PNG file should be interlaced or not.

PSD File Format PSD (Photoshop Document) is a native bitmap file format of the Adobe® Photoshop® program using lossless data compression. This format is a de facto standard for designers all over the world. The PSD image format is rather complex and stores a lot of layers and additional data (image layers, text layers, applied effects, etc.).

MIME Type image/vnd.adobe.photoshop

File Extension

*.psd

Supported Format Features

Name Description

Loading Raster Layers Getting access to layers of a PSD file and extracting an image from layers of a PSD image.

Loading Text Layers Extracting text data from layers of a PSD file.

Merging Layers Merging raster and text layers.

RAW File Format

A camera raw image file contains minimally processed data from the of either a digital camera, , or motion picture film scanner. Raw files are named so because they are not yet processed and therefore are not ready to be printed or edited with a bitmap graphics editor.

Supported Format Features Name Description

Loading RAW files Two ways to load RAW files in Graphics Mill: through pipelines and via the GraphicsMill.Bitmap class.

SVG File Format

SVG (Scalable ) is an image format developed by the World Wide Web Consortium (W3C). This format defines vector-based graphics in the XML format. SVG is very popular standard in web design because using it you may achieve perfect graphics quality without thinking of the zoom level or screen resolution.

MIME Type image/svg+xml

File Extension

*.svg

TARGA File Format

TARGA (Truevision Advanced Adapter) is a raster graphics file format created by Truevision Inc. Graphics Mill supports the following compression methods for the TARGA format:

• No compression

• RLE compression

MIME Type image/x-targa image/x-tga

File Extension *.tga

Supported Format Features

Name Description

Codecs.TgaSettings Writer settings of the TARGA format.

TIFF File Format

TIFF (Tagged Image File Format) is a bitmap file format for storing images that is very popular among professional photographers and graphic artists. TIFF is a flexible and adaptable file format for handling images and data within a single file. It includes the header tags (size, definition, image-data arrangement, applied ) and defines the image's geometry. Graphics Mill supports the following compression methods for the TIFF format:

• CCITT RLE compression,

• CCITT Group 3 compression,

• CCITT ,

• LZW compression,

• JPEG compression,

• ZIP "deflate" compression.

MIME Type image/

File Extensions

*.tiff, *.tif

Supported Format Features Name Description

Codecs.TiffSettings Writer settings of the TIFF format.

Working with Metadata Processing metadata: reading and writing EXIF, IPTC, XMP metadata, and Adobe Image Resource Blocks. It also shows how to preserve metadata during processing images.

Working with TIFF Extra Processing extra channels of TIFF images: adding/getting an extra

Channels channel to/from a TIFF image and handling opacity in the extra channel.

WebP File Format

WebP is an image format developed by Inc. This format provides lossless and lossy compression for images on the web. WebP can be used for animated images as an alternative to the popular GIF format.

MIME Type

image/

File Extension

*.webp