### Navigation

- index
- modules |
- next |
- previous |
- Phatch 0.2 documentation »
- other »

# EXIF

class `other.EXIF.``EXIF_header`(file, endian, offset, fake_exif, strict, debug=0)
  `canon_decode_tag`(value, dict)
  `decode_maker_note`()
  `dump_IFD`(ifd, ifd_name, dict={36864: ('ExifVersion', <function make_string at 0xb3044fc>), 37377: ('ShutterSpeedValue', ), 37378: ('ApertureValue', ), 36867: ('DateTimeOriginal', ), 36868: ('DateTimeDigitized', ), 37381: ('MaxApertureValue', ), 37382: ('SubjectDistance', ), 37383: ('MeteringMode', {0: 'Unidentified', 1: 'Average', 2: 'CenterWeightedAverage', 3: 'Spot', 4: 'MultiSpot', 5: 'Pattern'}), 37384: ('LightSource', {0: 'Unknown', 1: 'Daylight', 2: 'Fluorescent', 3: 'Tungsten', 9: 'Fine Weather', 10: 'Flash', 11: 'Shade', 12: 'Daylight Fluorescent', 13: 'Day White Fluorescent', 14: 'Cool White Fluorescent', 15: 'White Fluorescent', 17: 'Standard Light A', 18: 'Standard Light B', 19: 'Standard Light C', 20: 'D55', 21: 'D65', 22: 'D75', 255: 'Other'}), 37385: ('Flash', {0: 'No', 1: 'Fired', 5: 'Fired (?)', 7: 'Fired (!)', 9: 'Fill Fired', 13: 'Fill Fired (?)', 15: 'Fill Fired (!)', 16: 'Off', 24: 'Auto Off', 25: 'Auto Fired', 29: 'Auto Fired (?)', 31: 'Auto Fired (!)', 32: 'Not Available'}), 37386: ('FocalLength', ), 41483: ('FlashEnergy', ), 41484: ('SpatialFrequencyResponse', ), 40962: ('ExifImageWidth', ), 41486: ('FocalPlaneXResolution', ), 41487: ('FocalPlaneYResolution', ), 41488: ('FocalPlaneResolutionUnit', ), 529: ('YCbCrCoefficients', ), 530: ('YCbCrSubSampling', ), 531: ('YCbCrPositioning', {1: 'Centered', 2: 'Co-sited'}), 532: ('ReferenceBlackWhite', ), 41493: ('ExposureIndex', ), 512: ('JPEGProc', ), 41495: ('SensingMethod', {1: 'Not defined', 2: 'One-chip color area', 3: 'Two-chip color area', 4: 'Three-chip color area', 5: 'Color sequential area', 7: 'Trilinear', 8: 'Color sequential linear'}), 37380: ('ExposureBiasValue', ), 59932: ('Padding', ), 40965: ('InteroperabilityOffset', ), 34850: ('ExposureProgram', {0: 'Unidentified', 1: 'Manual', 2: 'Program Normal', 3: 'Aperture Priority', 4: 'Shutter Priority', 5: 'Program Creative', 6: 'Program Action', 7: 'Portrait Mode', 8: 'Landscape Mode'}), 34852: ('SpectralSensitivity', ), 34853: ('GPSInfo', ), 34855: ('ISOSpeedRatings', ), 34856: ('OECF', ), 41991: ('GainControl', {0: 'None', 1: 'Low gain up', 2: 'High gain up', 3: 'Low gain down', 4: 'High gain down'}), 41992: ('Contrast', {0: 'Normal', 1: 'Soft', 2: 'Hard'}), 513: ('JPEGInterchangeFormat', ), 41993: ('Saturation', {0: 'Normal', 1: 'Soft', 2: 'Hard'}), 41994: ('Sharpness', {0: 'Normal', 1: 'Soft', 2: 'Hard'}), 41995: ('DeviceSettingDescription', ), 41996: ('SubjectDistanceRange', ), 514: ('JPEGInterchangeFormatLength', ), 37396: ('SubjectArea', ), 37500: ('MakerNote', ), 37510: ('UserComment', <function make_string_uc at 0xb30448c>), 33421: ('CFARepeatPatternDim', ), 33422: ('CFAPattern', ), 33423: ('BatteryLevel', ), 37520: ('SubSecTime', ), 37521: ('SubSecTimeOriginal', ), 37522: ('SubSecTimeDigitized', ), 33432: ('Copyright', ), 33434: ('ExposureTime', ), 40091: ('XPTitle', ), 40092: ('XPComment', ), 33437: ('FNumber', ), 40094: ('XPKeywords', ), 40095: ('XPSubject', ), 50341: ('PrintIM', ), 37121: ('ComponentsConfiguration', {0: '', 1: 'Y', 2: 'Cb', 3: 'Cr', 4: 'Red', 5: 'Green', 6: 'Blue'}), 37122: ('CompressedBitsPerPixel', ), 37379: ('BrightnessValue', ), 256: ('ImageWidth', ), 257: ('ImageLength', ), 258: ('BitsPerSample', ), 259: ('Compression', {32896: 'IT8LW', 1: 'Uncompressed', 2: 'CCITT 1D', 3: 'T4/Group 3 Fax', 4: 'T6/Group 4 Fax', 5: 'LZW', 6: 'JPEG (old-style)', 7: 'JPEG', 8: 'Adobe Deflate', 9: 'JBIG B&W', 10: 'JBIG Color', 32908: 'PixarFilm', 32898: 'IT8BL', 32771: 'CCIRLEW', 34712: 'JPEG 2000', 34713: 'Nikon NEF Compressed', 32773: 'PackBits', 32769: 'Epson ERF Compressed', 32897: 'IT8MP', 32809: 'Thunderscan', 32946: 'Deflate', 32947: 'DCS', 32909: 'PixarLog', 34661: 'JBIG', 65000: 'Kodak DCR Compressed', 34676: 'SGILog', 34677: 'SGILog24', 65535: 'Pentax PEF Compressed', 32766: 'Next', 32895: 'IT8CTPAD'}), 262: ('PhotometricInterpretation', ), 263: ('Thresholding', ), 266: ('FillOrder', ), 269: ('DocumentName', ), 270: ('ImageDescription', ), 271: ('Make', ), 272: ('Model', ), 273: ('StripOffsets', ), 274: ('Orientation', {1: 'Horizontal (normal)', 2: 'Mirrored horizontal', 3: 'Rotated 180', 4: 'Mirrored vertical', 5: 'Mirrored horizontal then rotated 90 CCW', 6: 'Rotated 90 CW', 7: 'Mirrored horizontal then rotated 90 CW', 8: 'Rotated 90 CCW'}), 277: ('SamplesPerPixel', ), 278: ('RowsPerStrip', ), 279: ('StripByteCounts', ), 282: ('XResolution', ), 283: ('YResolution', ), 284: ('PlanarConfiguration', ), 285: ('PageName', <function make_string at 0xb3044fc>), 41728: ('FileSource', {1: 'Film Scanner', 2: 'Reflection Print Scanner', 3: 'Digital Camera'}), 40961: ('ColorSpace', {1: 'sRGB', 2: 'Adobe RGB', 65535: 'Uncalibrated'}), 296: ('ResolutionUnit', {1: 'Not Absolute', 2: 'Pixels/Inch', 3: 'Pixels/Centimeter'}), 301: ('TransferFunction', ), 42240: ('Gamma', ), 305: ('Software', ), 306: ('DateTime', ), 315: ('Artist', ), 41729: ('SceneType', {1: 'Directly Photographed'}), 318: ('WhitePoint', ), 319: ('PrimaryChromaticities', ), 41985: ('CustomRendered', {0: 'Normal', 1: 'Custom'}), 18246: ('Rating', ), 40960: ('FlashPixVersion', <function make_string at 0xb3044fc>), 342: ('TransferRange', ), 41730: ('CVAPattern', ), 40963: ('ExifImageLength', ), 41986: ('ExposureMode', {0: 'Auto Exposure', 1: 'Manual Exposure', 2: 'Auto Bracket'}), 34665: ('ExifOffset', ), 41492: ('SubjectLocation', ), 34675: ('InterColorProfile', ), 41987: ('WhiteBalance', {0: 'Auto', 1: 'Manual'}), 41988: ('DigitalZoomRatio', ), 40093: ('XPAuthor', ), 33723: ('IPTC/NAA', ), 41989: ('FocalLengthIn35mmFilm', ), 41990: ('SceneCaptureType', {0: 'Standard', 1: 'Landscape', 2: 'Portrait', 3: 'Night)'})}, relative=0, stop_tag='UNDEF')
  `extract_TIFF_thumbnail`(thumb_ifd)
  `first_IFD`()
  `list_IFDs`()
  `n2s`(offset, length)
  `next_IFD`(ifd)
  `olympus_decode_tag`(value, dict)
  `s2n`(offset, length, signed=0)

class `other.EXIF.``IFD_Tag`(printable, tag, field_type, values, field_offset, field_length)

class `other.EXIF.``Ratio`(num, den)
  `reduce`()

`other.EXIF.``gcd`(a, b)

`other.EXIF.``make_string`(seq)

`other.EXIF.``make_string_uc`(seq)

`other.EXIF.``nikon_ev_bias`(seq)

`other.EXIF.``olympus_special_mode`(v)

`other.EXIF.``process_file`(f, stop_tag='UNDEF', details=True, strict=False, debug=False)

`other.EXIF.``s2n_intel`(str)

`other.EXIF.``s2n_motorola`(str)

`other.EXIF.``usage`(exit_status)

### Navigation

- index
- modules |
- next |
- previous |
- Phatch 0.2 documentation »
- other »