Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

FlashPix Enumerated Types

Show in webframe

Enumerated types are used in FlashPix files to designate which Comment type is being stored. One of the values listed in FPXTYPE_DATA must be used when designating the Comment type in a Comment or in a sub-comment. (See FlashPix Comments.) The rest of the enumerated types are used for Comments or sub-comments which require that the data stored there belong to a particular group type. The enumerated types listed below provide a reference to those Comments using that enumerated type. In addition, an explanation, when needed, is given for each value of an enumerated type.

 

************************************************************************************************************************************************************************************

FPXTYPE_DATA 

These values are used by the comment headers and comment blocks to designate the type of comment stored.

typedef enum 

{
   FPXENUM_BOOL = 0,
   FPXENUM_SHORT,
   FPXENUM_SHORT_ARRAY,
   FPXENUM_LONG,
   FPXENUM_LONG_ARRAY,
   FPXENUM_FLOAT,
   FPXENUM_FLOAT_ARRAY,
   FPXENUM_STRING,
   FPXENUM_STRING_ARRAY,
   FPXENUM_WIDE_STRING,
   FPXENUM_WIDE_STRING_ARRAY,
   FPXENUM_THUMBNAIL,
   FPXENUM_SPACIAL_FREQUENCY_RESPONSE_BLOCK,
   FPXENUM_OECF_BLOCK,
   FPXENUM_CFA_PATTERN_BLOCK,
   FPXENUM_SCANNED_IMAGE_BLOCK_SIZE,
   FPXENUM_SYSTEM_TIME,
   FPXENUM_DATE
} FPXTYPE_DATA;

 

************************************************************************************************************************************************************************************

FPXTYPE_BACK_LIGHT 

Designates camera's evaluation of lighting conditions used during image capture. It may be undefined (FPXENUM_NOT_A_CAMERA_FEATURE_BACKLIGHT), illuminated from the front (FPXENUM_FRONT_LIT), exposed for subject center when brightness between subject center and the surrounding area differ (FPXENUM_BACK_LIT1) or exposed for surrounding area when brightness between subject center and the surrounding area differ (FPXENUM_BACK_LIT2) Refer to CMNT_FPXBACKLIGHT in FlashPix File Comments

typedef enum 

{
   FPXENUM_NOT_A_CAMERA_FEATURE_BACKLIGHT = 0,
   FPXENUM_FRONT_LIT,
   FPXENUM_BACK_LIT1,
   FPXENUM_BACK_LIT2
} FPXTYPE_BACK_LIGHT;

 

************************************************************************************************************************************************************************************

FPXTYPE_EXPOSURE_PROGRAM 

Designates the category of exposure program used by the camera which captured the image. Refer to CMNT_FPXEXPOSUREPROGRAM in FlashPix File Comments

typedef enum 

{
   FPXENUM_UNIDENTIFIED_EXPOSURE_PROGRAM = 0,
   FPXENUM_MANUAL,
   FPXENUM_PROGRAM_NORMAL,
   FPXENUM_APERTURE_PRIORITY,
   FPXENUM_SHUTTER_PRIORITY,
   FPXENUM_PROGRAM_CREATIVE,
   FPXENUM_PROGRAM_ACTION,
   FPXENUM_PROTRAIT_MODE,
   FPXENUM_LANDSCAPE_MODE
} FPXTYPE_EXPOSURE_PROGRAM;

 

************************************************************************************************************************************************************************************

FPXTYPE_FILM_CATEGORY 

Designates the category of film used when capturing the image. Refer to CMNT_FPXFILMCATEGORY in FlashPix File Comments.

typedef enum 

{
   FPXENUM_UNIDENTIFIED = 0,
   FPXENUM_NEGATIVE_BW,
   FPXENUM_NEGATIVE_COLOR,
   FPXENUM_REVERSAL_BW,
   FPXENUM_REVERSAL_COLOR,
   FPXENUM_CHROMAGENIC,
   FPXENUM_INTERNEGATIVE_BW,
   FPXENUM_INTERNEGATIVE_COLOR
} FPXTYPE_FILM_CATEGORY;

 

************************************************************************************************************************************************************************************

FPXTYPE_FLASH 

Designates whether or not a flash was used, or if it is unknown. Refer to CMNT_FPXFLASH in FlashPix File Comments.

typedef enum 

{
   FPXENUM_FLASH_USE_UNKNOWN = 0,
   FPXENUM_NO_FLASH_USED,
   FPXENUM_FLASH_USED
} FPXTYPE_FLASH;

 

************************************************************************************************************************************************************************************

FPXTYPE_FLASH_RETURN 

Designates whether the camera determined the flash to be effective or not at the time of exposure. This feature may be undefined (FPXENUM_NOT_A_CAMERA_FEATURE_FLASH_RETURN). Refer to CMNT_FPXFLASHRETURN in FlashPix File Comments.

typedef enum 

{
   FPXENUM_NOT_A_CAMERA_FEATURE_FLASH_RETURN = 0,
   FPXENUM_SUBJECT_OUTSIDE_FLASH_RANGE,
   FPXENUM_SUBJECT_INSIDE_FLASH_RANGE
} FPXTYPE_FLASH_RETURN;

 

************************************************************************************************************************************************************************************

FPXTYPE_METERING_MODE 

Designates the method by which the camera spatially weighs scene illuminance values, in order to determine sensor exposure. Refer to CMNT_FPXMETERINGMODE in FlashPix File Comments.

typedef enum 

{
   FPXENUM_UNIDENTIFED_METERING_MODE = 0,
   FPXENUM_AVERAGE,
   FPXENUM_CENTER_WEIGHTED_AVERAGE,
   FPXENUM_SPOT,
   FPXENUM_MULTI_SPOT
} FPXTYPE_METERING_MODE;

 

************************************************************************************************************************************************************************************

FPXTYPE_ORIGINAL_MEDIUM 

Designates the medium of the original photo or document. Refer to CMNT_FPXORIGINALMEDIUM in FlashPix File Comments.

typedef enum 

{
   FPXENUM_UNIDENTIFIED_ORIGINAL_MEDIUM = 0,
   FPXENUM_CONTINUOUS_TONE_IMAGE,
   FPXENUM_HALFTONE_IMAGE,
   FPXENUM_LINE_ART
} FPXTYPE_ORIGINAL_MEDIUM;

 

************************************************************************************************************************************************************************************

FPXTYPE_RESOLUTION_UNIT 

Designates the unit of measurement for film size and focal plane resolution. Refer to CMNT_FPXFOCALPLANERESOLUTIONUNIT or CMNT_FPXFILMSIZEUNIT in FlashPix File Comments.

typedef enum 

{
   FPXENUM_INCHES = 0,
   FPXENUM_METERS,
   FPXENUM_CENTIMETERS,
   FPXENUM_MILLIMETERS
} FPXTYPE_RESOLUTION_UNIT;

 

************************************************************************************************************************************************************************************

FPXTYPE_SCENE

Designates the type of scene captured. Original scenes are images directly captured from real-world scenes. Second-generation scenes are images captured from hardcopy images. Digital-scene generation applies to those images created digitally. Refer to CMNT_FPXSCENETYPE in FlashPix File Comments.

typedef enum 

{
   FPXENUM_UNIDENTIFIED_SCENE = 0,
   FPXENUM_ORIGINAL_SCENE,
   FPXENUM_SECOND_GENERATION_SCENE,
   FPXENUM_DIGITAL_SCENE_GENERATION
} FPXTYPE_SCENE;

 

************************************************************************************************************************************************************************************

FPXTYPE_SCENE_ILLUMINANT 

Designates the light source used when the image was captured. Refer to CMNT_FPXSCENEILLUMINANT in FlashPix File Comments.

typedef enum 

{
   FPXENUM_UNIDENTIFIED_SCENE_ILLUMINANT = 0,
   FPXENUM_DAYLIGHT,
   FPXENUM_FLUORESCENT_LIGHT,
   FPXENUM_TUNGSTEN_LAMP,
   FPXENUM_FLASH,
   FPXENUM_STANDARD_ILLUMINANT_A,
   FPXENUM_STANDARD_ILLUMINANT_B,
   FPXENUM_STANDARD_ILLUMINANT_C,
   FPXENUM_D55_ILLUMINANT,
   FPXENUM_D65_ILLUMINANT,
   FPXENUM_D75_ILLUMINANT
} FPXTYPE_SCENE_ILLUMINANT;

 

************************************************************************************************************************************************************************************

FPXTYPE_SENSING_METHOD 

typedef enum 

Designates type of image sensor used by the camera, or by some other device used to capture the image. Refer to CMNT_FPXSENSINGMETHOD in FlashPix File Comments.

{
   FPXENUM_UNDEFINED = 0,
   FPXENUM_MONOCHROME_AREA_SENSOR,
   FPXENUM_ONE_CHIP_COLOR_AREA_SENSOR,
   FPXENUM_TWO_CHIP_COLOR_AREA_SENSOR,
   FPXENUM_THREE_CHIP_COLOR_AREA_SENSOR,
   FPXENUM_COLOR_SEQUENCIAL_AREA_SENSOR,
   FPXENUM_MONOCHROME_LINEAR_SENSOR,
   FPXENUM_TRILINEAR_SENSOR,
   FPXENUM_COLOR_SEQUENCIAL_LINEAR_SENSOR
} FPXTYPE_SENSING_METHOD;

 

************************************************************************************************************************************************************************************

FPXTYPE_SOURCE

Designates the device used to create the digital image. Refer to CMNT_FPXFILESOURCE in FlashPix File Comments.

typedef enum
{
   FPXENUM_UNIDENTIFIED_SOURCE = 0,
   FPXENUM_FILM_SCANNER,
   FPXENUM_REFLECTION_PRINT_SCANNER,
   FPXENUM_DIGITAL_CAMERA,
   FPXENUM_STILL_FROM_VIDEO,
   FPXENUM_COMPUTER_GRAPHICS
} FPXTYPE_SOURCE;

 

************************************************************************************************************************************************************************************

FPXTYPE_TYPE_OF_REFLECTION_ORIGINAL 

Designates the type of the original photo or document. Refer to CMNT_FPXTYPEOFREFLECTIONORIGINAL in FlashPix File Comments.

typedef enum 

{
   FPXENUM_UNIDENTIFIED_TYPE_OF_REFLECTION_ORIGINAL = 0,
   FPXENUM_BW_PRINT,
   FPXENUM_COLOR_PRINT,
   FPXENUM_BW_DOCUMENT,
   FPXENUM_COLOR_DOCUMENT
} FPXTYPE_TYPE_OF_REFLECTION_ORIGINAL;

 

************************************************************************************************************************************************************************************

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.