LEADTOOLS supports the following Kodak formats:
-
PhotoCD (PCD). This is a common high-resolution format for images on CD-ROM. An image file can contain one or more physical resolutions, with fixed dimensions. You can choose which resolution to load, and thus control the size of the resulting image.
You cannot write PhotoCD files. They are read-only.
-
FlashPix (FPX). The FlashPix file format was developed through the combined efforts of Eastman Kodak Company, Microsoft Corporation, Hewlett-Packard Company, and Live Picture Inc. It combines the best features of existing formats with object orientation to make the use of digital color images easier.
The format of a FlashPix file is based on compound object storage, which allows storage of various kinds of data. A FlashPix file may consist of several "pages" where each "page" has storage for a source image, non-image data in the form of comments, transform data, and a stamp or thumbnail. Each image is stored as an entire multi-resolution hierarchy where each resolution in the hierarchy differs from the next highest resolution by a factor of 2 in the x dimension and in the y dimension. Non-image data are treated as comments in FlashPix file format. Comments are used to store information pertaining to the image, not actual pixel data. This information may include image title, image subject, camera manufacturer, scan software version number, and so forth. In addition to the image itself, FlashPix files store transform information. This data indicates transformations which may be performed on the source image. By storing the transforms, the source image may be stored in its original state and transformed, using the stored transforms, at your discretion. A stamp, or thumbnail, provides a small bitmap representation of a FlashPix image.
File constants associated with these file formats are:
RasterImageViewer.Save File Constant |
Read Support | Write Support | Description |
---|---|---|---|
Pcd | 8, 24 BPP | None | Kodak PhotoCD. |
Fpx | 8, 24 BPP | 8, 24 BPP | FlashPix, with no compression. |
FpxSingleColor | 8, 24 BPP | 8, 24 BPP | FlashPix, compressed with the single color method. |
RasterImageFormat.FpxJpeg | 8, 24 BPP | 8, 24 BPP | FlashPix, compressed with JPEG, using the default Q factor. |
FpxJpegQFactor | 8, 24 BPP | 8, 24 BPP | FlashPix, compressed with JPEG, using a specified Q factor. |
Required DLL: Leadtools.Codecs.Pcd.dll for PCD, Leadtools.Codecs.Fpx.dll for FPX. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
NOTE: This format does not support LEAD's redirected IO feature.
Related Formats: CRW - Canon RAW Format, DCR - Kodak Professional Digital Camera Format, DCS - Kodak Professional Digital Camera System Format, EXIF - Exif Formats, KDC - Kodak Digital Camera Format.