Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

exif.c File Reference


Detailed Description

EXIF file library for GPHOTO package.

Author:
Copyright 1999 Matthew G. Martin
Generic gphoto implementation and extension by Edouard Lafargue.

Tag descriptions and an ever-increasing number of structural details Taken from "exifdump.py" by Thierry Bousch <bousch@topo.math.u-psud.fr>

Thanks to Paul Wood <pwood@cs.bris.ac.uk> for sub-ifd parsing.

License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file exif.c.

#include "exif.h"

Go to the source code of this file.

Classes

struct  tagarray

Functions

static long exif_next_ifd (unsigned char *exif, int num)
static int exif_parse_data (exifparser *exifdat)
static int gpe_theval (char *data, int tagind)
static int gpi_datsize (unsigned char *data, int tagind)
static int gpi_exif_get_comment (exifparser *exifdat, char *comment)
static int gpi_exif_get_field (int tag_number, int ifd, exifparser *exifdata, ExifData *tag_data)
static long gpi_exif_get_lilend (char *data, int size)
unsigned char * gpi_exif_get_thumbnail_and_size (exifparser *exifdat, long *size)
int gpi_exif_stat (exifparser *exifdata)
static int gpi_getintval (unsigned char *data, int tagnum)
static int gpi_getvalue (unsigned char *data, int tagind)
static void gpi_setval (char *data, int tagind, long newval)
static int gpi_tagnum (char *data, int tagind)

Variables

static int exif_debug = 0
static const int exif_sizetab [13]
static struct tagarray tagnames []


Generated by  Doxygen 1.6.0   Back to index