google-code-export / metadata-extractor

Automatically exported from code.google.com/p/metadata-extractor
1 stars 0 forks source link

Pentax K5 maker note directory detected as com.drew.metadata.exif.CasioType2MakernoteDirectory #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1.Load the image
Code:
    for (Directory directory : metadata.getDirectories()) {
            if(logger.isLoggable(Level.INFO)){
            logger.info("directory =  " + directory);
        }

            for (Tag tag : directory.getTags()) {
                if(logger.isLoggable(Level.INFO)){ 
                    logger.info(" Tag = " + tag.toString());
                }

            }

        }

What is the expected output? What do you see instead?

The Exif data is detected as 
com.drew.metadata.exif.CasioType2MakernoteDirectory but it should be detected 
as PentaxMakerNoteDirectory

What version of the product are you using? On what operating system?
2.6.4 on Mac OS 10.8.4

Please provide any additional information below.
The image is too large to be attached.
Please download the image here:
http://www.dpreview.com/galleries/reviewsamples/download/2511323

Here are the logs from loading the EXIF data:
  directory =  com.drew.metadata.jpeg.JpegDirectory@3a8c4b43
  Tag = [Jpeg] Compression Type - Baseline
  Tag = [Jpeg] Data Precision - 8 bits
  Tag = [Jpeg] Image Height - 3264 pixels
  Tag = [Jpeg] Image Width - 4928 pixels
  Tag = [Jpeg] Number of Components - 3
  Tag = [Jpeg] Component 1 - Y component: Quantization table 0, Sampling factors 1 horiz/2 vert
  Tag = [Jpeg] Component 2 - Cb component: Quantization table 1, Sampling factors 1 horiz/1 vert
  Tag = [Jpeg] Component 3 - Cr component: Quantization table 1, Sampling factors 1 horiz/1 vert
 directory =  com.drew.metadata.exif.ExifSubIFDDirectory@50a139bc
  Tag = [Exif SubIFD] Exposure Time - 0.01 sec
  Tag = [Exif SubIFD] F-Number - F2.8
  Tag = [Exif SubIFD] Exposure Program - Program normal
  Tag = [Exif SubIFD] ISO Speed Ratings - 100
  Tag = [Exif SubIFD] Exif Version - 2.30
  Tag = [Exif SubIFD] Date/Time Original - 2013:04:08 06:36:28
  Tag = [Exif SubIFD] Date/Time Digitized - 2013:04:08 06:36:28
  Tag = [Exif SubIFD] Components Configuration - YCbCr
  Tag = [Exif SubIFD] Shutter Speed Value - 1/99 sec
  Tag = [Exif SubIFD] Aperture Value - F2.8
  Tag = [Exif SubIFD] Exposure Bias Value - 0 EV
  Tag = [Exif SubIFD] Metering Mode - Spot
  Tag = [Exif SubIFD] Flash - Flash did not fire, auto
  Tag = [Exif SubIFD] Focal Length - 43.0 mm
  Tag = [Exif SubIFD] FlashPix Version - 1.00
  Tag = [Exif SubIFD] Color Space - sRGB
  Tag = [Exif SubIFD] Exif Image Width - 4928 pixels
  Tag = [Exif SubIFD] Exif Image Height - 3264 pixels
  Tag = [Exif SubIFD] Sensing Method - One-chip color area sensor
  Tag = [Exif SubIFD] File Source - Digital Still Camera (DSC)
  Tag = [Exif SubIFD] Scene Type - Directly photographed image
  Tag = [Exif SubIFD] Custom Rendered - Normal process
  Tag = [Exif SubIFD] Exposure Mode - Auto exposure
  Tag = [Exif SubIFD] White Balance Mode - Manual white balance
  Tag = [Exif SubIFD] Focal Length 35 - 64mm
  Tag = [Exif SubIFD] Scene Capture Type - Standard
  Tag = [Exif SubIFD] Contrast - None
  Tag = [Exif SubIFD] Saturation - None
  Tag = [Exif SubIFD] Sharpness - None
  Tag = [Exif SubIFD] Subject Distance Range - Distant view
  Tag = [Exif SubIFD] Lens Specification - 430/10 430/10 19/10 19/10
  Tag = [Exif SubIFD] Lens Model - smc PENTAX-FA 43mm F1.9 Limited
 directory =  com.drew.metadata.exif.ExifIFD0Directory@68d26850
  Tag = [Exif IFD0] Make - PENTAX
  Tag = [Exif IFD0] Model - PENTAX K-5 II
  Tag = [Exif IFD0] Orientation - Right side, top (Rotate 90 CW)
  Tag = [Exif IFD0] X Resolution - 300 dots per inch
  Tag = [Exif IFD0] Y Resolution - 300 dots per inch
  Tag = [Exif IFD0] Resolution Unit - Inch
  Tag = [Exif IFD0] Software - K-5 II Ver 1.00
  Tag = [Exif IFD0] Date/Time - 2013:04:08 06:36:28
  Tag = [Exif IFD0] YCbCr Positioning - Datum point
  Tag = [Exif IFD0] Unknown tag (0xc4a5) - [350 bytes]
 directory =  com.drew.metadata.exif.CasioType2MakernoteDirectory@4a1b594d
  Tag = [Casio Makernote] Unknown tag (0x0000) - 10 0 0 0
  Tag = [Casio Makernote] Unknown tag (0x0001) - 0
  Tag = [Casio Makernote] Thumbnail Dimensions - 640 x 480 pixels
  Tag = [Casio Makernote] Thumbnail Size - 40753 bytes
  Tag = [Casio Makernote] Thumbnail Offset - 11768
  Tag = [Casio Makernote] Unknown tag (0x0005) - 77680
  Tag = [Casio Makernote] Unknown tag (0x0006) - 7 -35 4 8
  Tag = [Casio Makernote] Unknown tag (0x0007) - 6 36 28
  Tag = [Casio Makernote] Quality Mode - Unknown (5)
  Tag = [Casio Makernote] Unknown tag (0x000c) - 1 63
  Tag = [Casio Makernote] Focus Mode - Unknown (16)
  Tag = [Casio Makernote] Unknown tag (0x000e) - 65534 0
  Tag = [Casio Makernote] Unknown tag (0x0012) - 1000
  Tag = [Casio Makernote] Unknown tag (0x0013) - 28
  Tag = [Casio Makernote] ISO Sensitivity - 100
  Tag = [Casio Makernote] Unknown tag (0x0016) - 50
  Tag = [Casio Makernote] Unknown tag (0x0017) - 2
  Tag = [Casio Makernote] Unknown tag (0x0018) - 0 0
  Tag = [Casio Makernote] White Balance - Unknown (9)
  Tag = [Casio Makernote] Focal Length - 430.0 mm
  Tag = [Casio Makernote] Saturation - Normal
  Tag = [Casio Makernote] Contrast - Normal
  Tag = [Casio Makernote] Sharpness - Normal
  Tag = [Casio Makernote] Unknown tag (0x0027) - -2 -1 -1 -1
  Tag = [Casio Makernote] Unknown tag (0x0028) - -2 -1 -1 -1
  Tag = [Casio Makernote] Unknown tag (0x002d) - 9600
  Tag = [Casio Makernote] Unknown tag (0x0032) - 0 0 0 0
  Tag = [Casio Makernote] Unknown tag (0x0033) - 2 0 1
  Tag = [Casio Makernote] Unknown tag (0x0034) - 0 0 0 0
  Tag = [Casio Makernote] Unknown tag (0x0035) - 12061 7988
  Tag = [Casio Makernote] Unknown tag (0x0037) - 0
  Tag = [Casio Makernote] Unknown tag (0x003d) - 8192
  Tag = [Casio Makernote] Unknown tag (0x003e) - 28 28 0 0
  Tag = [Casio Makernote] Unknown tag (0x003f) - 4 3 0 0
  Tag = [Casio Makernote] Unknown tag (0x0040) - 50
  Tag = [Casio Makernote] Unknown tag (0x0041) - 0
  Tag = [Casio Makernote] Unknown tag (0x0047) - 22
  Tag = [Casio Makernote] Unknown tag (0x0048) - 0
  Tag = [Casio Makernote] Unknown tag (0x0049) - 0
  Tag = [Casio Makernote] Unknown tag (0x004d) - 0
  Tag = [Casio Makernote] Unknown tag (0x004f) - 1
  Tag = [Casio Makernote] Unknown tag (0x0050) - 0
  Tag = [Casio Makernote] Unknown tag (0x005c) - 1 135 104 88
  Tag = [Casio Makernote] Unknown tag (0x005d) - -2 6 -27 -101
  Tag = [Casio Makernote] Unknown tag (0x0060) - 0 0 0 0
  Tag = [Casio Makernote] Unknown tag (0x0062) - 8
  Tag = [Casio Makernote] Unknown tag (0x0067) - 1
  Tag = [Casio Makernote] Unknown tag (0x0068) - 1 0
  Tag = [Casio Makernote] Unknown tag (0x0069) - 0 0 0 0
  Tag = [Casio Makernote] Unknown tag (0x006b) - 0 0 12 12
  Tag = [Casio Makernote] Unknown tag (0x006c) - 0 0
  Tag = [Casio Makernote] Unknown tag (0x006d) - 0 0
  Tag = [Casio Makernote] Unknown tag (0x006e) - 0 0
  Tag = [Casio Makernote] Unknown tag (0x006f) - 0
  Tag = [Casio Makernote] Unknown tag (0x0070) - 0 0
  Tag = [Casio Makernote] Unknown tag (0x0071) - 255 0
  Tag = [Casio Makernote] Unknown tag (0x0072) - 0
  Tag = [Casio Makernote] Unknown tag (0x0073) - 65535
  Tag = [Casio Makernote] Unknown tag (0x0074) - 65535
  Tag = [Casio Makernote] Unknown tag (0x0076) - 16 0
  Tag = [Casio Makernote] Unknown tag (0x0077) - 720 480
  Tag = [Casio Makernote] Unknown tag (0x0078) - 0 0
  Tag = [Casio Makernote] Unknown tag (0x0079) - 0 0
  Tag = [Casio Makernote] Unknown tag (0x007a) - 2 0
  Tag = [Casio Makernote] Unknown tag (0x007b) - 0
  Tag = [Casio Makernote] Unknown tag (0x007d) - 0 0 0
  Tag = [Casio Makernote] Unknown tag (0x007f) - 65535
  Tag = [Casio Makernote] Unknown tag (0x0200) - 4 4 1 65535
  Tag = [Casio Makernote] Unknown tag (0x0201) - 65535 0 0 0
  Tag = [Casio Makernote] Unknown tag (0x0205) - [22 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0206) - [25 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0207) - [91 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0208) - [39 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0209) - [77 bytes]
  Tag = [Casio Makernote] Unknown tag (0x020a) - [77 bytes]
  Tag = [Casio Makernote] Unknown tag (0x020b) - [77 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0215) - -132826451 -314638477 -303222112 939388090 -79039008
  Tag = [Casio Makernote] Unknown tag (0x0216) - [26 bytes]
  Tag = [Casio Makernote] Unknown tag (0x021a) - [1068 bytes]
  Tag = [Casio Makernote] Unknown tag (0x021b) - [328 bytes]
  Tag = [Casio Makernote] Unknown tag (0x021c) - [18 bytes]
  Tag = [Casio Makernote] Unknown tag (0x021d) - [18 bytes]
  Tag = [Casio Makernote] Unknown tag (0x021e) - 0 1 0 1 0 0 0 1
  Tag = [Casio Makernote] Unknown tag (0x021f) - [19 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0221) - [138 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0222) - [18 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0226) - 111 -59 -9 -86 65 60 -9 -111 90 114 -9
  Tag = [Casio Makernote] Unknown tag (0x0227) - [64 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0228) - [64 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0229) - ?????????????????????x???Q(??????D??????
  Tag = [Casio Makernote] Unknown tag (0x022a) - [345 bytes]
  Tag = [Casio Makernote] Unknown tag (0x022b) - -13 7 -4 79 -44 79 -4 55
  Tag = [Casio Makernote] Unknown tag (0x022c) - [46 bytes]
  Tag = [Casio Makernote] Unknown tag (0x022d) - [100 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0231) - 38205 63960 61044 63987
  Tag = [Casio Makernote] Unknown tag (0x0234) - [180 bytes]
  Tag = [Casio Makernote] Unknown tag (0x03ff) - [256 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0404) - [2086 bytes]
  Tag = [Casio Makernote] Unknown tag (0x0406) - [4116 bytes]
 directory =  com.drew.metadata.exif.ExifInteropDirectory@4983f43d
  Tag = [Interoperability] Interoperability Index - Recommended Exif Interoperability Rules (ExifR98)
  Tag = [Interoperability] Interoperability Version - 1.00
 directory =  com.drew.metadata.exif.GpsDirectory@7617f67f
  Tag = [GPS] GPS Version ID - 2.300
 directory =  com.drew.metadata.exif.ExifThumbnailDirectory@1f38486b
  Tag = [Exif Thumbnail] Thumbnail Compression - JPEG (old-style)
  Tag = [Exif Thumbnail] X Resolution - 300 dots per inch
  Tag = [Exif Thumbnail] Y Resolution - 300 dots per inch
  Tag = [Exif Thumbnail] Resolution Unit - Inch
  Tag = [Exif Thumbnail] Thumbnail Offset - 54610 bytes
  Tag = [Exif Thumbnail] Thumbnail Length - 6362 bytes
 directory =  com.drew.metadata.xmp.XmpDirectory@281a78d0
  Tag = [Xmp] Lens Information - 430/10 430/10 19/10 19/10
  Tag = [Xmp] Lens - smc PENTAX-FA 43mm F1.9 Limited
  Tag = [Xmp] Rating - 5.0
 directory =  com.drew.metadata.photoshop.PhotoshopDirectory@61f1b441
  Tag = [Photoshop] IPTC-NAA Record - 39 bytes binary data
  Tag = [Photoshop] Caption Digest - 67 117 101 52 -109 39 -42 52 -67 20 13 -9 98 -73 19 127
 directory =  com.drew.metadata.iptc.IptcDirectory@437149a3
  Tag = [Iptc] Coded Character Set - %G
  Tag = [Iptc] Application Record Version - 4
  Tag = [Iptc] Date Created - Mon Apr 08 00:00:00 EDT 2013
  Tag = [Iptc] Time Created - 063628

Original issue reported on code.google.com by carlant...@gmail.com on 31 Aug 2013 at 3:45

GoogleCodeExporter commented 9 years ago
This issue has been migrated along with the project to GitHub:

https://github.com/drewnoakes/metadata-extractor/issues/25

Original comment by drewnoakes on 20 Nov 2014 at 12:10