Image::MetaData::JPEG::MakerNotes

Image::MetaData::JPEG::MakerNotes contains random information and details on MakerNotes.
Download

Image::MetaData::JPEG::MakerNotes Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stefano Bettelli
  • Publisher web site:
  • http://search.cpan.org/~bettelli/Image-MetaData-JPEG-0.15/lib/Image/MetaData/JPEG/MakerNotes.pod

Image::MetaData::JPEG::MakerNotes Tags


Image::MetaData::JPEG::MakerNotes Description

Image::MetaData::JPEG::MakerNotes contains random information and details on MakerNotes. Image::MetaData::JPEG::MakerNotes contains random information and details on MakerNotes.Pieces of information available after parsing the MakerNoteThe result of the process of parsing the maker note is stored in a directory in the internal data structure for the APP1 Segment, whose path is "IFD@SubIFD@MakerNoteData_$format", where $format is the specific note format; the 'MakerNote' entry in IFD0@SubIFD is then removed. This translation happens always, because there is a catch-all 'unknown' rule for a binary makernote with very broad acceptance rules. The maker note directory contains, in addition, a special subdir with some fields reporting about the parsing process. key content -------- ------- ORIGINAL the raw content of the maker note (unparsed) SIGNATURE the first few bytes which allowed the format to be chosen ENDIANNESS the byte order chosen during parsing FORMAT the maker note format chosen during parsing ERROR error details, in case of failure while parsingSupported MakerNote formatsMaker note formats are specified in a special internal hash, with a key for each format (including the 'unknown' format). Each format entry corresponds to an anonymous hash containing information for parsing the MakerNote; the "normal" format is considered to be an IFD-like MakerNote with a next_link pointer, offsets counted from the global TIFF header and no MakerNote internal TIFF header. key meaning or effect --------- ----------------- signature the MakerNote signature (a regular expression) maker the Maker signature (i.e., its name, no regex) tags a reference to a hash for tag translations (A) mkntstart if set, offsets are counted from the maker note start (B) mkntTIFF if set, offsets are counted from the internal TIFF header (C) ignore if set, the format is to be ignored (D) nonext if set, the maker note IFD does not have a next_link (E) endianness if set, the byte order is fixed to this value (F) nonIFD if set, the maker note is not IFD-likeCurrently, "supported" formats are described in the following table; authoritative data is indeed kept in Tables_makernotes.pl, to which the reader should refer for tag definitions and translations. Remember that both the 'signature' and the 'maker' fields are regular expressions matching at the beginning (the real signature corresponds to $1). A B C D E F Maker Signature ----------- --------- ----------------- Agfa AGFA (AGFA 0001) Canon Canon () Casio_1 CASIO () Casio_2 CASIO (QVC00{3}) Epson EPSON (EPSON000100) Foveon FOVEON (FOVEON00{2}0100) Fujifilm x FUJIFILM (FUJIFILM1400{3}) HPackard x Hewlett-Packard (HP) Kyocera x x KYOCERA (KYOCERA {12}00{3}) Kodak B x KODAK (KDK INFO* ) Minolta_1 MINOLTA ().{10}MLT0 Minolta_2 Minolta ().{10}MLT0 Konica x Minolta|KONICA ((MLY|KC|(+M){4})|0100{5}04) Nikon_1 NIKON (Nikon000100) Nikon_2 NIKON () Nikon_3 x NIKON (Nikon000200{2}) Olympus OLYMPUS (OLYMP0000) Panasonic_1 x Panasonic (Panasonic00{3}) Panasonic_2 x x Panasonic (MKED) Pentax_1 x Asahi () Pentax_2 x x Asahi (AOC00..) Ricoh_1 x RICOH (Rv|Rev) Ricoh_2 x RICOH (00) Ricoh_3 RICOH ((Ricoh|RICOH)00{3}) Sanyo SANYO (SANYO000100) Sigma SIGMA (SIGMA00{3}0100) Sony x SONY (SONY (CAM|DSC) 00{3}) Toshiba x TOSHIBA () unknown x . ()ReferencesMakerNote format details are not usually released by vendors (well, this is an euphemism: no vendor ever, to my knowledge, released any detail on its format, exception made for Sigma/Foveon). All information used for this package was collected on the Internet (and its reliability is therefore limited) or through personal tests. Some interesting sites are (not an exhaustive list at all): General: home.arcor.de/ahuggel/exiv2/makernote.html .....: www.ozhiker.com/electronics/pjmt/jpeg_info/makernotes.html Agfa: www.ozhiker.com/electronics/pjmt/jpeg_info/agfa_mn.html Canon: www.burren.cx/david/canon.html Casio: park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html ...: www.dicasoft.de/casiomn.htm Epson: www.ozhiker.com/electronics/pjmt/jpeg_info/epson_mn.html Foveon: Foveon is the same as Sigma, see Sigma Fujifilm: park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html ......: www.ozhiker.com/electronics/pjmt/jpeg_info/fujifilm_mn.html Kyocera: www.ozhiker.com/electronics/pjmt/jpeg_info/kyocera_mn.html Kodak: my personal tests with my Kodak DX3900 (not IFD-like) Minolta: www.dalibor.cz/minolta/makernote.htm .....: www.ozhiker.com/electronics/pjmt/jpeg_info/minolta_mn.html Nikon: park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html ...: www.tawbaware.com/990exif.htm ...: www.ozhiker.com/electronics/pjmt/jpeg_info/nikon_mn.html Olympus: park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html .....: www.ozhiker.com/electronics/pjmt/jpeg_info/olympus_mn.html Panasonic: www.compton.nu/panasonic.html Pentax: www.ozhiker.com/electronics/pjmt/jpeg_info/pentax_mn.html Ricoh: www.ozhiker.com/electronics/pjmt/jpeg_info/ricoh_mn.html Sanyo: www.exif.org/makernotes/SanyoMakerNote.html Sigma: www.x3f.info/technotes/FileDocs/MakerNoteDoc.html Sony: www.ozhiker.com/electronics/pjmt/jpeg_info/sony_mn.htmlDX3900 MakerNote formatKodak MakerNotes are written in a proprietary binary format, which is not IFD-like. So, there is no way to detect the beginning, end and type of a field; everything here was inferred through a careful comparison of the content of a set of Kodak JPEG files and their shot parameters. Fields seems to be aligned on four bytes boundaries. For the DX3900 model the endianness is always fixed to big endian. The signature regular expression is "^(KDK INFO* )", the maker is 'KODAK'. The meaning of the tags is as follows: BYTE ??? firmware version? This is always 3 BYTE Compression 1 = normal, 2 = 2160x1440 high compression BYTE BurstMode 0 = off, 1 = on BYTE MacroMode 0 = normal, 1 = close-up SHORT PixelXDimension allowed 2160x1440, 1800x1200, SHORT PixelYDimension / values: 1536x1024, 1080x720 SHORT Year the year value, with four digits BYTE Month the month value (in ) BYTE Day the day value (in ) BYTE Hour the hour value (in ) BYTE Minute the minute value (in ) BYTE Second the second value (in ) BYTE SubSecond (in 130th of seconds?) SHORT ??? ??? BYTE ??? ??? BYTE ShutterMode 0 = auto, 32 = manual BYTE MeteringMode 0 = multi-pattern, 1=centre weight., 2=centre spot BYTE BurstSequenceIndex index in , 0 if burst mode off SHORT FNumber 100 times the Exif F-number LONG ExposureTime in 10^-5 seconds SSHORT ExposureBiasValue 1000 times the exposure bias in SHORT ??? ??? LONG ??? LONG ??? is this an estimate of the subject LONG ??? / distance? If so, it is very rough. LONG ??? / BYTE FocusMode 0 = auto, 2 = close, 3 = infinity BYTE ??? always 2 SHORT ??? ??? SSHORT PanoramaMode 0 = normal, -1 = focus at infinity SHORT SubjectDistance (x-28)*2.54+7 looks like the distance in cm BYTE WhiteBalance 0 = normal, 1 = fluor., 2 = tungsten, 3 = daylight (27 bytes with unknown meaning here) BYTE FlashMode 0 = auto, 1 = on, 2 = off, 3 = red-eyes BYTE FlashFired 0 = yes, 1 = no SHORT ISOSpeedMode the requested speed in {100,200,400} or zero SHORT ??? ??? SHORT TotalZoomFactor 100 times the zoom factor in SHORT DateTimeStampMode 0 = none, = the six modes SHORT ColourMode 1 = black & white, 2 = sepia, 32 = colour SHORT DigitalZoomFactor 100 times the zoom factor in BYTE ??? always zero SBYTE Sharpness 0 = standard, 1 = sharp, -1 = soft (808 bytes with unknown meaning here, maybe a thumbnail?)Requirements:· Perl Requirements: · Perl


Image::MetaData::JPEG::MakerNotes Related Software