ImageIO.h File Reference

#include "SDK/HBitmap.h"
#include "DLLPlugi.h"

Include dependency graph for ImageIO.h:

Go to the source code of this file.

Classes

class  HOutputInfo
class  ImageIOInfo
class  ImageIO

Defines

#define __IMAGEIO_H
#define IMAGEIODLLVERSION   1

Enumerations

enum  GammaType {
  GAMMA_NONE, GAMMA_MONITOR, GAMMA_NTSC, GAMMA_CRT,
  GAMMA_CUSTOM
}


Define Documentation

#define __IMAGEIO_H
 

Definition at line 3 of file ImageIO.h.

#define IMAGEIODLLVERSION   1
 

Definition at line 11 of file ImageIO.h.


Enumeration Type Documentation

enum GammaType
 

This enumerates Gamma presets

Image data may be Gamma corrected prior to storing in a file. There are a few accepted presets. Some informal and other more specific.

A Gamma correction is a power function x'=x^Gamma where the Gamma value specifies the exponent.

Gamma correction is a complex and tricky issue, meaning there are continuous debates as to what it means, how to interpret it, where to apply it, etc. For a good coverage of the Gamma correction concept, see Charles Poynton Gamma FAQ.

Enumerator:
GAMMA_NONE  No gamma correction should be applied to the image data. It is stored as received in the image buffer. The Gamma is 1.0.
GAMMA_MONITOR  The Gamma value is 1.8. This is the traditional Gamma correction used on Macintosh displays.
GAMMA_NTSC  The applied Gamma correction is approximatively equivalent to 2.2 but ideally should follow the CIE Rec 709 with a slope of 4.5 below 0.018 and power 0.45 above 0.018

This is also the correction as specified in the sRGB standard for image files. Most modern imaging devices store their image data with the sRGB correction. Thus, image files coming from modern digital cameras and scanners already have the sRGB applied to them. Any renders that are designed to be displayed on a Web browser should have the sRGB correction applied to it.

GAMMA_CRT  The Gamma value is 2.5. This is the traditional Gamma correction applied to an uncorrected monitor.

Most users of a Windows or PC computer don't have any correction or calibration on their monitors. A non corrected CRT have a Gamma of approximately 2.5.

GAMMA_CUSTOM  The user have specified is own Gamma correction value.

Definition at line 58 of file ImageIO.h.


This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:47 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001