Image-EXIF

 view release on metacpan or  search on metacpan

tagdefs.c  view on Meta::CPAN

	{ 2,	"Auto Bracket" },
	{ -1,	"Unknown" },
};


/* White balance. */

struct descrip whitebal[] = {
	{ 0,	"Auto" },
	{ 1,	"Manual" },
	{ -1,	"Unknown" },
};


/* Scene capture type. */

struct descrip scenecaptypes[] = {
	{ 0,	"Standard" },
	{ 1,	"Landscape" },
	{ 2,	"Portrait" },
	{ 3,	"Night Scene" },
	{ -1,	"Unknown" },
};


/* Gain control. */

struct descrip gainctrl[] = {
	{ 0,	"None" },
	{ 1,	"Low Gain Up" },
	{ 2,	"High Gain Up" },
	{ 3,	"Low Gain Down" },
	{ 4,	"High Gain Down" },
	{ -1,	"Unknown" },
};


/* Contrast & sharpness. */

struct descrip processrange[] = {
	{ 0,	"Normal" },
	{ 1,	"Soft" },
	{ 2,	"Hard" },
	{ -1,	"Unknown" },
};


/* Saturation. */

struct descrip saturate[] = {
	{ 0,	"Normal" },
	{ 1,	"Low" },
	{ 2,	"High" },
	{ -1,	"Unknown" },
};


/* Subject distance range. */

struct descrip subjdist[] = {
	{ 1,	"Macro" },
	{ 2,	"Close View" },
	{ 3,	"Distant View" },
	{ -1,	"Unknown" },
};


/* Exif 2.2 tags. */

struct exiftag tags[] = {
	{ 0x0100, TIFF_UNKN,  1,  ED_IMG, 		/* columns */
	    "ImageWidth", "Image Width", NULL },
	{ 0x0101, TIFF_UNKN,  1,  ED_IMG, 		/* rows */
	    "ImageLength", "Image Height", NULL },
	{ 0x0102, TIFF_SHORT, 3,  ED_IMG, 		/* bits */
	    "BitsPerSample", "Number of Bits Per Component", NULL },
	{ 0x0103, TIFF_SHORT, 1,  ED_IMG,
	    "Compression", "Compression Scheme", compresss },
	{ 0x0106, TIFF_SHORT, 1,  ED_IMG,
	    "PhotometricInterpretation", "Pixel Composition", pixelcomps },
	{ 0x010a, TIFF_UNKN,  0,  ED_UNK,
	    "FillOrder", NULL, NULL },
	{ 0x010d, TIFF_UNKN,  0,  ED_UNK,
	    "DocumentName", NULL, NULL },
	{ 0x010e, TIFF_ASCII, 0,  ED_UNK,
	    "ImageDescription", "Title", NULL },
	{ 0x010f, TIFF_ASCII, 0,  ED_CAM,
	    "Make", "Equipment Make", NULL },
	{ 0x0110, TIFF_ASCII, 0,  ED_CAM,
	    "Model", "Camera Model", NULL },
	{ 0x0111, TIFF_UNKN,  0,  ED_VRB,		/* bytes */
	    "StripOffsets", "Image Data Location", NULL },
	{ 0x0112, TIFF_SHORT, 1,  ED_IMG,
	    "Orientation", "Image Orientation", orients },
	{ 0x0115, TIFF_SHORT, 1,  ED_VRB,
	    "SamplesPerPixel", "Number of Components", NULL },
	{ 0x0116, TIFF_UNKN,  1,  ED_VRB,		/* rows */
	    "RowsPerStrip", "Number of Rows Per Strip", NULL },
	{ 0x0117, TIFF_UNKN,  0,  ED_VRB,		/* bytes */
	    "StripByteCounts", "Bytes per Compressed Strip", NULL },
	{ 0x011a, TIFF_RTNL,  1,  ED_IMG,		/* dp[i|cm] */
	    "XResolution", "Horizontal Resolution", NULL },
	{ 0x011b, TIFF_RTNL,  1,  ED_IMG,		/* dp[i|cm] */
	    "YResolution", "Vertical Resolution", NULL },
	{ 0x011c, TIFF_SHORT, 1,  ED_IMG,
	    "PlanarConfiguration", "Image Data Arrangement", planarconfigs },
	{ 0x0128, TIFF_SHORT, 1,  ED_VRB,
	    "ResolutionUnit", "Resolution Unit", resunits },
	{ 0x012d, TIFF_SHORT, 0,  ED_VRB,
	    "TransferFunction", "Transfer Function", NULL },
	{ 0x0131, TIFF_ASCII, 0,  ED_CAM,
	    "Software", "Camera Software", NULL },
	{ 0x0132, TIFF_ASCII, 20, ED_IMG,
	    "DateTime", "Image Created", NULL },
	{ 0x013b, TIFF_ASCII, 0,  ED_CAM,
	    "Artist", "Photographer", NULL },
	{ 0x013e, TIFF_RTNL,  2,  ED_IMG,
	    "WhitePoint", "White Point Chromaticity", NULL },
	{ 0x013f, TIFF_RTNL,  6,  ED_VRB,
	    "PrimaryChromaticities", "Chromaticities of Primary Colors", NULL },
	{ 0x0156, TIFF_UNKN,  0,  ED_UNK,



( run in 0.663 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )