EXIF library (libexif) Internals  0.6.24
exif-format.h File Reference

Handling native EXIF data types. More...

This graph shows which files directly or indirectly include this file:

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. More...
 
unsigned char exif_format_get_size (ExifFormat format)
 Return the raw size of the given EXIF data type. More...
 

Detailed Description

Handling native EXIF data types.

Definition in file exif-format.h.

Enumeration Type Documentation

◆ ExifFormat

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

◆ exif_format_get_name()

const char* exif_format_get_name ( ExifFormat  format)

Return a textual representation of the given EXIF data type.

Parameters
[in]formatEXIF data format
Returns
localized textual name, or NULL if unknown

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

References _, bindtextdomain, ExifFormatTable, format, and name.

Referenced by content_foreach_func(), exif_entry_dump(), and exif_entry_fix().

◆ exif_format_get_size()


libexif Generated by doxygen