summaryrefslogtreecommitdiff
path: root/libgphoto2/exif.c
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2001-10-24 21:49:36 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2001-10-24 21:49:36 +0000
commit55697fcdddf94560c9e9ba7c3a05027c2199176f (patch)
treefbc041e99d765d92cef789be2cc86b8d351ffbb8 /libgphoto2/exif.c
parent02e82bb49c658488a84f545d3c119159694a80a2 (diff)
downloadlibgphoto2-55697fcdddf94560c9e9ba7c3a05027c2199176f.tar.gz
moved definition of tagnames[]= from exif.h to exif.c, left an extern decl
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2722 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/exif.c')
-rw-r--r--libgphoto2/exif.c91
1 files changed, 91 insertions, 0 deletions
diff --git a/libgphoto2/exif.c b/libgphoto2/exif.c
index e7fcf571c..11c035540 100644
--- a/libgphoto2/exif.c
+++ b/libgphoto2/exif.c
@@ -42,6 +42,97 @@ static int exif_sizetab[13]={
0,1,1,2,4,8,1,1,2,4,8,4,8
};
+static struct tagarray{
+ int num;
+ char* desc;
+} tagnames[]=
+{
+{0xFE, "NewSubFileType"},
+{0x100, "ImageWidth"},
+{0x101, "ImageLength"},
+{0x102, "BitsPerSample"},
+{0x103, "Compression"},
+{0x106, "PhotometricInterpretation"},
+{0x10A, "FillOrder"},
+{0x10D, "DocumentName"},
+{0x10E, "ImageDescription"},
+{0x10F, "Make"},
+{0x110, "Model"},
+{0x111, "StripOffsets"},
+{0x112, "Orientation"},
+{0x115, "SamplesPerPixel"},
+{0x116, "RowsPerStrip"},
+{0x117, "StripByteCounts"},
+{0x11A, "XResolution"},
+{0x11B, "YResolution"},
+{0x11C, "PlanarConfiguration"},
+{0x128, "ResolutionUnit"},
+{0x12D, "TransferFunction"},
+{0x131, "Software"},
+{0x132, "DateTime"},
+{0x13B, "Artist"},
+{0x13E, "WhitePoint"},
+{0x13F, "PrimaryChromaticities"},
+{0x156, "TransferRange"},
+{0x200, "JPEGProc"},
+{0x201, "JPEGInterchangeFormat"},
+{0x202, "JPEGInterchangeFormatLength"},
+{0x211, "YCbCrCoefficients"},
+{0x212, "YCbCrSubSampling"},
+{0x213, "YCbCrPositioning"},
+{0x214, "ReferenceBlackWhite"},
+{0x828D, "CFARepeatPatternDim"},
+{0x828E, "CFAPattern"},
+{0x828F, "BatteryLevel"},
+{0x8298, "Copyright"},
+{0x829A, "ExposureTime"},
+{0x829D, "FNumber"},
+{0x83BB, "IPTC/NAA"},
+{0x8769, "ExifOffset"},
+{0x8773, "InterColorProfile"},
+{0x8822, "ExposureProgram"},
+{0x8824, "SpectralSensitivity"},
+{0x8825, "GPSInfo"},
+{0x8827, "ISOSpeedRatings"},
+{0x8828, "OECF"},
+{0x9000, "ExifVersion"},
+{0x9003, "DateTimeOriginal"},
+{0x9004, "DateTimeDigitized"},
+{0x9101, "ComponentsConfiguration"},
+{0x9102, "CompressedBitsPerPixel"},
+{0x9201, "ShutterSpeedValue"},
+{0x9202, "ApertureValue"},
+{0x9203, "BrightnessValue"},
+{0x9204, "ExposureBiasValue"},
+{0x9205, "MaxApertureValue"},
+{0x9206, "SubjectDistance"},
+{0x9207, "MeteringMode"},
+{0x9208, "LightSource"},
+{0x9209, "Flash"},
+{0x920A, "FocalLength"},
+{0x927C, "MakerNote"},
+{0x9286, "UserComment"},
+{0x9290, "SubSecTime"},
+{0x9291, "SubSecTimeOriginal"},
+{0x9292, "SubSecTimeDigitized"},
+{0xA000, "FlashPixVersion"},
+{0xA001, "ColorSpace"},
+{0xA002, "ExifImageWidth"},
+{0xA003, "ExifImageLength"},
+{0xA005, "InteroperabilityOffset"},
+{0xA20B, "FlashEnergy"},
+{0xA20C, "SpatialFrequencyResponse"},
+{0xA20E, "FocalPlaneXResolution"},
+{0xA20F, "FocalPlaneYResolution"},
+{0xA210, "FocalPlaneResolutionUnit"},
+{0xA214, "SubjectLocation"},
+{0xA215, "ExposureIndex"},
+{0xA217, "SensingMethod"},
+{0xA300, "FileSource"},
+{0xA301, "Scenetype"},
+{0,"end"}
+};
+
/*
* Foward declarations. move to exif.h if you want to export.
*/