SourceForge.net Logo
  Examples

Small sample applications that use PMT are included with the distributions in the examples directory. The test code, especially the AccessorTest, which is located in test/AccessorTest, can also be used as a guide to using PMT.


  DataList

The DataList program reads an image file specified as a command-line parameter and dumps the metadata to standard out.


  createTiff

The createTiff program demonstrates how to create a Tiff 8-bit RGB image from scratch using the PMT. PMT will automatically create and write the mandatory tags that must go with the image.

NOTE: This program uses the PmtImageAccessor. Therefore, PMT must be built with PMT_IMAGE_ACCESSOR_REQUIRED defined for this program.


  createExif

The createExif program demonstrates how to create an Exif image from scratch using the PMT and add metadata to it. PMT will automatically create and write the mandatory tags that must go with the image.

NOTE: This program uses the PmtImageAccessor. Therefore, PMT must be built with PMT_IMAGE_ACCESSOR_REQUIRED defined for this program.


  DataView

Demonstrates how to use the image accessors. It currently only works with the X windowing system using Motif and image accessors must be enabled.


Last Updated: August 20, 2003 (rlr)
Copyright © 2003 Eastman Kodak Company All Rights Reserved.