Mail hat nicht geklappt, deshalb hier der nur von mir geänderte erste Teil der Datei exifReader.inc.php mit den defines:
Code:
<?php
/**
* PHP Class to read EXIF information
* that most of the digital camera produce
*
* This class is based on jhead (in C) by Matthias Wandel
*
* Vinay Yadav (vinayRas) < vinay@sanisoft.com >
* http://www.sanisoft.com/phpexifrw/
*
* For more information on EXIF
* http://www.exif.org/
*/
// ALL COMMENTS ARE REMOVED TO MAKE THIS LIBRATY SMALLER PLEASE GO TO THE
// ORIGINAL FILE IF YOU NEED THIS!
/**
* * ensure this file is being included by a parent file
*/
defined('_VALID_TWG') or die('Direct Access to this location is not allowed.');
define("M_SOF0", 0xC0);
define("M_SOF1", 0xC1);
define("M_SOF2", 0xC2);
define("M_SOF3", 0xC3);
define("M_SOF5", 0xC5);
define("M_SOF6", 0xC6);
define("M_SOF7", 0xC7);
define("M_SOF9", 0xC9);
define("M_SOF10", 0xCA);
define("M_SOF11", 0xCB);
define("M_SOF13", 0xCD);
define("M_SOF14", 0xCE);
define("M_SOF15", 0xCF);
define("M_SOI", 0xD8);
define("M_EOI", 0xD9);
define("M_SOS", 0xDA);
define("M_JFIF", 0xE0);
define("M_EXIF", 0xE1);
define("M_EXIF_EXT", 0xE2);
define("M_QUANTA", 0xDB);
define("M_HUFF", 0xC4);
define("M_COM", 0xFE);
define("NUM_FORMATS", "12");
define("FMT_BYTE", "1");
define("FMT_STRING", "2");
define("FMT_USHORT", "3");
define("FMT_ULONG", "4");
define("FMT_URATIONAL", "5");
define("FMT_SBYTE", "6");
define("FMT_UNDEFINED", "7");
define("FMT_SSHORT", "8");
define("FMT_SLONG", "9");
define("FMT_SRATIONAL", "10");
define("FMT_SINGLE", "11");
define("FMT_DOUBLE", "12");
define("TAG_EXIF_OFFSET", 0x8769);
define("TAG_INTEROP_OFFSET", 0xa005);
define("TAG_MAKE", 0x010F);
define("TAG_MODEL", 0x0110);
define("TAG_ORIENTATION", 0x0112);
define("TAG_EXPOSURETIME", 0x829A);
define("TAG_FNUMBER", 0x829D);
define("TAG_SHUTTERSPEED", 0x9201);
define("TAG_APERTURE", 0x9202);
define("TAG_MAXAPERTURE", 0x9205);
define("TAG_FOCALLENGTH", 0x920A);
define("TAG_DATETIME_ORIGINAL", 0x9003);
define("TAG_USERCOMMENT", 0x9286);
define("TAG_SUBJECT_DISTANCE", 0x9206);
define("TAG_FLASH", 0x9209);
define("TAG_FOCALPLANEXRES", 0xa20E);
define("TAG_FOCALPLANEUNITS", 0xa210);
define("TAG_EXIF_IMAGEWIDTH", 0xA002);
define("TAG_EXIF_IMAGELENGTH", 0xA003);
define("TAG_EXPOSURE_BIAS", 0x9204);
define("TAG_WHITEBALANCE", 0x9208);
define("TAG_METERING_MODE", 0x9207);
define("TAG_EXPOSURE_PROGRAM", 0x8822);
define("TAG_ISO_EQUIVALENT", 0x8827);
define("TAG_COMPRESSION_LEVEL", 0x9102);
define("TAG_THUMBNAIL_OFFSET", 0x0201);
define("TAG_THUMBNAIL_LENGTH", 0x0202);
define("PSEUDO_IMAGE_MARKER", 0x123);
define("MAX_COMMENT", 2000);
define("TAG_ARTIST", 0x013B);
define("TAG_COPYRIGHT", 0x8298);
define("TAG_IMAGE_WD", 0x0100);
define("TAG_IMAGE_HT", 0x0101);
define("TAG_IMAGE_BPS", 0x0102);
define("TAG_IMAGE_PHOTO_INT", 0x0106);
define("TAG_IMAGE_SOFFSET", 0x0111); // stripoffsets
define("TAG_IMAGE_SPP", 0x0115); // Samples per pixel - 277
define("TAG_IMAGE_RPS", 0x0116); // RowsPerStrip - 278
define("TAG_IMAGE_SBC", 0x0117); // StripByteCounts - 279
define("TAG_IMAGE_P_CONFIG", 0x011C); // Planar Configuration - 284
define("TAG_IMAGE_DESC", 0x010E); // image title
define("TAG_X_RESOLUTION", 0x011A); // Image resolution in width direction
define("TAG_Y_RESOLUTION", 0x011B); // Image resolution in height direction
define("TAG_RESOLUTION_UNIT", 0x0128); // Unit of X and Y resolution
define("TAG_SOFTWARE", 0x0131); // Software used
define("TAG_FILE_MODDATE", 0x0132); // DateTime File change date and time
define("TAG_YCBCR_POSITIONING", 0x0213); // Y and C positioning
define("TAG_EXIF_VERSION", 0x9000); // Exif version
define("TAG_DATE_TIME_DIGITIZED", 0x9004); // Date and time of digital data
define("TAG_COMPONENT_CONFIG", 0x9101); // Component configuration
define("TAG_MAKER_NOTE", 0x927C);
define("TAG_SUB_SEC_TIME", 0x9290);
define("TAG_SUB_SEC_TIME_ORIG", 0x9291);
define("TAG_SUB_SEC_TIME_DIGITIZED", 0x9292);
define("TAG_FLASHPIX_VER", 0xA000); //FlashPixVersion
define("TAG_COLOR_SPACE", 0xA001); //ColorSpace
define("TAG_RELATED_SOUND_FILE", 0xA004); //Related audio file
define("TAG_GPS_LATITUDE_REF", 0x0001); //
define("TAG_GPS_LATITUDE", 0x0002); //
define("TAG_GPS_LONGITUDE_REF", 0x0003); //
define("TAG_GPS_LONGITUDE", 0x0004); //
define("TAG_GPS_TrackRef", 0x000E); //
define("TAG_GPS_GPSTrack", 0x000F); //
define("TAG_GPS_GPSImgDirectionRef", 0x0010); //
define("TAG_GPS_GPSImgDirection", 0x0011); //
define("TAG_GPS_GPSMapDatum", 0x0012); //
define("TAG_GPS_GPSDestLatitudeRef", 0x0013); //
define("TAG_GPS_GPSDestLatitude", 0x0014); //
define("TAG_GPS_GPSDestLongitudeRef", 0x0015); //
define("TAG_GPS_GPSDestLongitude", 0x0016); //
define("TAG_GPS_GPSDestBearingRef", 0x0017); //
define("TAG_GPS_GPSDestBearing", 0x0018); //
define("TAG_GPS_GPSDestDistanceRef", 0x0019); //
define("TAG_GPS_GPSDestDistance", 0x001A); //
define("TAG_GPS_GPSProcessingMethod", 0x001B); //
define("TAG_GPS_GPSAreaInformation", 0x001C); //
define("TAG_GPS_GPSDateStamp", 0x001D); //
define("TAG_GPS_GPSDifferential", 0x001E); //
define("TAG_AUDIO_IMA_ADPCM_DESC", 0x0028); // IMA-ADPCM Audio File Description Example - 40
define("TAG_AUDIO_MU_LAW_DESC", 0x0032); // µ-Law Audio File Description Sample - 50
define("TAG_AUDIO_MU_LAW", 0x0086); // (This File µ-LAW Sample) - 134
define("TAG_EXPOSURE_INDEX", 0xA215); // Exposure index
define("TAG_SENSING_METHOD", 0xA217); // SensingMethod
define("TAG_SOUCE_TYPE", 0xA300); // FileSource
define("TAG_SCENE_TYPE", 0xA301); // SceneType
define("TAG_CFA_PATTERN", 0xA302); // CFA Pattern
define("TAG_COMPRESS_SCHEME", 0x0103); //
define("TAG_CUSTOM_RENDERED", 0xA401); // CustomRendered
define("TAG_EXPOSURE_MODE", 0xA402); // Exposure mode ExposureMode
define("TAG_WHITE_BALANCE", 0xA403); // White balance WhiteBalance
define("TAG_DIGITAL_ZOOM_RATIO", 0xA404); // Digital zoom ratio DigitalZoomRatio
define("TAG_FLENGTH_IN35MM", 0xA405); // Focal length in 35 mm film FocalLengthIn35mmFilm
define("TAG_SCREEN_CAP_TYPE", 0xA406); // Scene capture type SceneCaptureType
define("TAG_GAIN_CONTROL", 0xA407); //Gain control
define("TAG_CONTRAST", 0xA408); // Contrast
define("TAG_SATURATION", 0xA409); // Saturation
define("TAG_SHARPNESS", 0xA40A); // Sharpness
define("TAG_DEVICE_SETTING_DESC", 0xA40B); // SDevice settings description DeviceSettingDescription
define("TAG_DIST_RANGE", 0xA40C); //Subject distance range SubjectDistanceRange
define("TAG_FOCALPLANE_YRESOL", 0xA20F);
; //FocalPlaneYResolution
define("TAG_BRIGHTNESS", 0x9203);
; //Brightness