exif-format.h File Reference

Go to the source code of this file.

Enumerations

enum  ExifFormat {
  EXIF_FORMAT_BYTE = 1, EXIF_FORMAT_ASCII = 2, EXIF_FORMAT_SHORT = 3, EXIF_FORMAT_LONG = 4,
  EXIF_FORMAT_RATIONAL = 5, EXIF_FORMAT_SBYTE = 6, EXIF_FORMAT_UNDEFINED = 7, EXIF_FORMAT_SSHORT = 8,
  EXIF_FORMAT_SLONG = 9, EXIF_FORMAT_SRATIONAL = 10, EXIF_FORMAT_FLOAT = 11, EXIF_FORMAT_DOUBLE = 12
}
 EXIF tag data formats. More...

Functions

const char * exif_format_get_name (ExifFormat format)
 Return a textual representation of the given EXIF data type.
unsigned char exif_format_get_size (ExifFormat format)
 Return the raw size of the given EXIF data type.


Detailed Description

Handling native EXIF data types

Definition in file exif-format.h.


Enumeration Type Documentation

enum ExifFormat

EXIF tag data formats.

Enumerator:
EXIF_FORMAT_BYTE 
EXIF_FORMAT_ASCII 
EXIF_FORMAT_SHORT 
EXIF_FORMAT_LONG 
EXIF_FORMAT_RATIONAL 
EXIF_FORMAT_SBYTE 
EXIF_FORMAT_UNDEFINED 
EXIF_FORMAT_SSHORT 
EXIF_FORMAT_SLONG 
EXIF_FORMAT_SRATIONAL 
EXIF_FORMAT_FLOAT 
EXIF_FORMAT_DOUBLE 

Definition at line 32 of file exif-format.h.


Function Documentation

const char* exif_format_get_name ( ExifFormat  format  ) 

Return a textual representation of the given EXIF data type.

Parameters:
[in] format EXIF data format
Returns:
localized textual name

Definition at line 53 of file exif-format.c.

References _, bindtextdomain, ExifFormatTable, and name.

unsigned char exif_format_get_size ( ExifFormat  format  ) 

Return the raw size of the given EXIF data type.

Parameters:
[in] format EXIF data format
Returns:
size in bytes

Definition at line 73 of file exif-format.c.

References ExifFormatTable.


SourceForge.net Logo Generated by doxygen