Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Enumerations / Format

Format enumeration

Specifies the imaging format to use. Some formats are only available if the web filter is disabled. This filter prevents the library from loading images which are not suitable for web purposes. Some formats are only available for reading and cannot be used to save files in that particular format.

If you use the ATL COM version of the library, you can supply the string value (the name of the value) or the number value (as listed in the table below) as the enumeration value. If you use the Class Library, the enumeration is available as an enum object with the name MarblecoreImagingFormat which contains all the available values.

Values

NameValueDescription
Unknown0Unknown image format
Bitmap1Bitmap image (writing available if web filter is disabled)
JPEG2JPEG image (writing always available for this format)
PNG3PNG image (writing always available for this format)
GIF4GIF image (writing always available for this format)
TIFF5Tagged Image File Format (writing available if web filter is disabled)
HDR6High Dynamic Range image (writing available if web filter is disabled)
Icon7Windows icon image (writing available if web filter is disabled)
Photoshop8Photoshop image (read only)
JNG9JPEG Network Graphics image (read only)
KOALA10C64 Koala Graphics image (read only)
IFF11IFF Interleaved Bitmap (read only)
MNG12Multiple Network Graphics (read only)
PBM13Portable ASCII bitmap (writing available if web filter is disabled)
PBMRAW14Portable RAW bitmap (writing available if web filter is disabled)
PCD15Kodak PhotoCD (read only)
PCX16ZSoft Paintprush (read only)
PGM17Portable ASCII Greymap (writing available if web filter is disabled)
PGMRAW18Portable RAW Greymap (writing available if web filter is disabled)
PPM19Portable ASCII Pixelmap (writing available if web filter is disabled)
PPMRAW20Portable RAW Pixelmap (writing available if web filter is disabled)
RAS21Sun Raster Image (read only)
TARGA22Truevision Targa (writing available if web filter is disabled)
WBMP23Wireless Bitmap (writing available if web filter is disabled)
CUT24Dr. Halo (read only)
XBM25X11 Bitmap (read only)
XPM26X11 Pixmap (writing available if web filter is disabled)
DDS27DirectX Surface (read only)
FAXG328Raw fax format CCIIT G.3 (read only)
SGI29Silicon Graphics SGI image (read only)

See also

Create | FileConvert | FileCrop | FileExpand | FileFlipHorizontal | FileFlipVertical | FileResize | FileRotate | FileRotateLeft | FileRotateRight | FileShrink | FileThumbnail | GetFileExtensionFromFormat | GetFileFromFormat | Format | FormatDefault | GetFormatFromFile | FormatFromInfo | GetFormatFromString | FormatOriginal | GetMIMEFromFormat | SaveHistogramToFile | SaveHistogramToStream | SaveToBase64 | SaveToFile | SaveToStream | SetFormat | SetFormatDefault