[
https://issues.apache.org/jira/browse/IMAGING-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504385#comment-16504385
]
Bruno P. Kinoshita commented on IMAGING-217:
--------------------------------------------
{noformat}
$ exiftool -api validate=2 P1002265.JPG
ExifTool Version Number : 10.10
File Name : P1002265.JPG
Directory : .
File Size : 6.0 MB
File Modification Date/Time : 2018:06:07 20:06:16+12:00
File Access Date/Time : 2018:06:07 20:06:59+12:00
File Inode Change Date/Time : 2018:06:07 20:06:16+12:00
File Permissions : rw-rw-r--
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
Image Width : 5184
Image Height : 3456
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:2 (2 1)
Image Size : 5184x3456
Megapixels : 17.9{noformat}
> ImageMetadata NULL returned from Imaging.getMetadata() for JPEG
> ---------------------------------------------------------------
>
> Key: IMAGING-217
> URL: https://issues.apache.org/jira/browse/IMAGING-217
> Project: Commons Imaging
> Issue Type: Bug
> Components: Format: JPEG
> Reporter: Ritesh Srivastava
> Priority: Blocker
> Attachments: P1002265.JPG
>
>
> The Imaging.getMetadata() API is failing for JPEG Image File (Attached) -
> The same file ImageInfo is geting pulled via Imaging.getImageInfo()
> {code:java}
> File imageFile = new File("D:\\sample_files\\P1002265.jpg");
> ImageInfo imageInfo = Imaging.getImageInfo(imageFile);
> System.out.println(imageInfo);
> ImageMetadata imageMetadata = Imaging.getMetadata(imageFile);
> System.out.println(imageMetadata);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)