EXIF library (libexif) Internals
0.6.26
exif-format.h
Go to the documentation of this file.
1
4
/*
5
*
6
* Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net>
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the
20
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
* Boston, MA 02110-1301 USA.
22
*
23
* SPDX-License-Identifier: LGPL-2.0-or-later
24
*/
25
26
#ifndef LIBEXIF_EXIF_FORMAT_H
27
#define LIBEXIF_EXIF_FORMAT_H
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
/* __cplusplus */
32
34
typedef
enum
{
35
EXIF_FORMAT_BYTE
= 1,
36
EXIF_FORMAT_ASCII
= 2,
37
EXIF_FORMAT_SHORT
= 3,
38
EXIF_FORMAT_LONG
= 4,
39
EXIF_FORMAT_RATIONAL
= 5,
40
EXIF_FORMAT_SBYTE
= 6,
41
EXIF_FORMAT_UNDEFINED
= 7,
42
EXIF_FORMAT_SSHORT
= 8,
43
EXIF_FORMAT_SLONG
= 9,
44
EXIF_FORMAT_SRATIONAL
= 10,
45
EXIF_FORMAT_FLOAT
= 11,
46
EXIF_FORMAT_DOUBLE
= 12
47
}
ExifFormat
;
48
54
const
char
*
exif_format_get_name
(
ExifFormat
format
);
55
61
unsigned
char
exif_format_get_size
(
ExifFormat
format
);
62
63
#ifdef __cplusplus
64
}
65
#endif
/* __cplusplus */
66
67
#endif
/* !defined(LIBEXIF_EXIF_FORMAT_H) */
format
ExifFormat format
Definition
exif-format.c:35
exif_format_get_name
const char * exif_format_get_name(ExifFormat format)
Return a textual representation of the given EXIF data type.
Definition
exif-format.c:55
ExifFormat
ExifFormat
EXIF tag data formats.
Definition
exif-format.h:34
EXIF_FORMAT_SLONG
@ EXIF_FORMAT_SLONG
Definition
exif-format.h:43
EXIF_FORMAT_RATIONAL
@ EXIF_FORMAT_RATIONAL
Definition
exif-format.h:39
EXIF_FORMAT_SRATIONAL
@ EXIF_FORMAT_SRATIONAL
Definition
exif-format.h:44
EXIF_FORMAT_LONG
@ EXIF_FORMAT_LONG
Definition
exif-format.h:38
EXIF_FORMAT_UNDEFINED
@ EXIF_FORMAT_UNDEFINED
Definition
exif-format.h:41
EXIF_FORMAT_SHORT
@ EXIF_FORMAT_SHORT
Definition
exif-format.h:37
EXIF_FORMAT_SSHORT
@ EXIF_FORMAT_SSHORT
Definition
exif-format.h:42
EXIF_FORMAT_ASCII
@ EXIF_FORMAT_ASCII
Definition
exif-format.h:36
EXIF_FORMAT_SBYTE
@ EXIF_FORMAT_SBYTE
Definition
exif-format.h:40
EXIF_FORMAT_FLOAT
@ EXIF_FORMAT_FLOAT
Definition
exif-format.h:45
EXIF_FORMAT_DOUBLE
@ EXIF_FORMAT_DOUBLE
Definition
exif-format.h:46
EXIF_FORMAT_BYTE
@ EXIF_FORMAT_BYTE
Definition
exif-format.h:35
exif_format_get_size
unsigned char exif_format_get_size(ExifFormat format)
Return the raw size of the given EXIF data type.
Definition
exif-format.c:68
libexif
Generated by