image Package

image Package

EXIF Module

class pytomo.kaa_metadata.image.EXIF.EXIF_header(file, endian, offset, fake_exif, debug=0)[source]
canon_decode_tag(value, dict)[source]
decode_maker_note()[source]
dump_IFD(ifd, ifd_name, dict={36864: ('ExifVersion', <function make_string at 0x9044848>), 513: ('JPEGInterchangeFormat', ), 37378: ('ApertureValue', ), 36867: ('DateTimeOriginal', ), 36868: ('DateTimeDigitized', ), 37381: ('MaxApertureValue', ), 37382: ('SubjectDistance', ), 37383: ('MeteringMode', {0: 'Unidentified', 1: 'Average', 2: 'CenterWeightedAverage', 3: 'Spot', 4: 'MultiSpot'}), 37384: ('LightSource', {0: 'Unknown', 1: 'Daylight', 2: 'Fluorescent', 3: 'Tungsten', 10: 'Flash', 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', ), 532: ('ReferenceBlackWhite', ), 41493: ('ExposureIndex', ), 512: ('JPEGProc', ), 41495: ('SensingMethod', ), 37380: ('ExposureBiasValue', ), 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', ), 41992: ('Contrast', ), 41993: ('Saturation', ), 41994: ('Sharpness', ), 41996: ('SubjectDistanceRange', ), 514: ('JPEGInterchangeFormatLength', ), 41492: ('SubjectLocation', ), 37500: ('MakerNote', ), 37510: ('UserComment', <function make_string_uc at 0x9044758>), 33421: ('CFARepeatPatternDim', ), 33422: ('CFAPattern', ), 33423: ('BatteryLevel', ), 37520: ('SubSecTime', ), 37521: ('SubSecTimeOriginal', ), 37522: ('SubSecTimeDigitized', ), 33432: ('Copyright', ), 33434: ('ExposureTime', ), 33437: ('FNumber', ), 37121: ('ComponentsConfiguration', {0: '', 1: 'Y', 2: 'Cb', 3: 'Cr', 4: 'Red', 5: 'Green', 6: 'Blue'}), 37377: ('ShutterSpeedValue', ), 37122: ('CompressedBitsPerPixel', ), 37396: ('SubjectArea', ), 37379: ('BrightnessValue', ), 256: ('ImageWidth', ), 257: ('ImageLength', ), 258: ('BitsPerSample', ), 259: ('Compression', {1: 'Uncompressed TIFF', 6: 'JPEG Compressed'}), 262: ('PhotometricInterpretation', ), 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', ), 41728: ('FileSource', {3: 'Digital Camera'}), 40961: ('ColorSpace', ), 296: ('ResolutionUnit', {1: 'Not Absolute', 2: 'Pixels/Inch', 3: 'Pixels/Centimeter'}), 301: ('TransferFunction', ), 305: ('Software', ), 306: ('DateTime', ), 315: ('Artist', ), 41729: ('SceneType', {1: 'Directly Photographed'}), 318: ('WhitePoint', ), 319: ('PrimaryChromaticities', ), 41985: ('CustomRendered', ), 40960: ('FlashPixVersion', <function make_string at 0x9044848>), 342: ('TransferRange', ), 41730: ('CVAPattern', ), 40963: ('ExifImageLength', ), 41986: ('ExposureMode', {0: 'Auto Exposure', 1: 'Manual Exposure', 2: 'Auto Bracket'}), 34665: ('ExifOffset', ), 34675: ('InterColorProfile', ), 41987: ('WhiteBalance', {0: 'Auto', 1: 'Manual'}), 41988: ('DigitalZoomRatio', ), 33723: ('IPTC/NAA', ), 41989: ('FocalLengthIn35mm', ), 41990: ('SceneCaptureType', )}, relative=0, stop_tag='UNDEF')[source]
extract_TIFF_thumbnail(thumb_ifd)[source]
first_IFD()[source]
list_IFDs()[source]
n2s(offset, length)[source]
next_IFD(ifd)[source]
olympus_decode_tag(value, dict)[source]
s2n(offset, length, signed=0)[source]
class pytomo.kaa_metadata.image.EXIF.IFD_Tag(printable, tag, field_type, values, field_offset, field_length)[source]
class pytomo.kaa_metadata.image.EXIF.Ratio(num, den)[source]
reduce()[source]
pytomo.kaa_metadata.image.EXIF.gcd(a, b)[source]
pytomo.kaa_metadata.image.EXIF.make_string(seq)[source]
pytomo.kaa_metadata.image.EXIF.make_string_uc(seq)[source]
pytomo.kaa_metadata.image.EXIF.nikon_ev_bias(seq)[source]
pytomo.kaa_metadata.image.EXIF.olympus_special_mode(v)[source]
pytomo.kaa_metadata.image.EXIF.process_file(f, stop_tag='UNDEF', details=True, debug=False)[source]
pytomo.kaa_metadata.image.EXIF.s2n_intel(str)[source]
pytomo.kaa_metadata.image.EXIF.s2n_motorola(str)[source]
pytomo.kaa_metadata.image.EXIF.usage(exit_status)[source]

IPTC Module

pytomo.kaa_metadata.image.IPTC.flatten(list)[source]
pytomo.kaa_metadata.image.IPTC.parseiptc(app)[source]

bmp Module

pytomo.kaa_metadata.image.bmp.Parser

alias of BMP

core Module

class pytomo.kaa_metadata.image.core.BinsParser(filename)[source]

Bases: xml.sax.handler.ContentHandler

characters(c)[source]
endElement(name)[source]
items()[source]
startElement(name, attr)[source]
class pytomo.kaa_metadata.image.core.Image(hash=None)[source]

Bases: pytomo.kaa_metadata.core.Media

Digital Images, Photos, Pictures.

media = 'MEDIA_IMAGE'
parse_external_files(filename)[source]

Parse external files like bins and .comments.

generic Module

gif Module

pytomo.kaa_metadata.image.gif.Parser

alias of GIF

jpg Module

pytomo.kaa_metadata.image.jpg.Parser

alias of JPG

png Module

pytomo.kaa_metadata.image.png.Parser

alias of PNG

tiff Module

pytomo.kaa_metadata.image.tiff.Parser

alias of TIFF

Table Of Contents

Previous topic

audio Package

Next topic

misc Package

This Page