From issues-return-68154-archive-asf-public=cust-asf.ponee.io@commons.apache.org Thu Jun 7 10:15:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8DE38180663 for ; Thu, 7 Jun 2018 10:15:04 +0200 (CEST) Received: (qmail 72154 invoked by uid 500); 7 Jun 2018 08:15:03 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 72140 invoked by uid 99); 7 Jun 2018 08:15:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2018 08:15:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BD80B180850 for ; Thu, 7 Jun 2018 08:15:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1-RX9ZNatke5 for ; Thu, 7 Jun 2018 08:15:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 705EB5F21E for ; Thu, 7 Jun 2018 08:15:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CDE61E00D3 for ; Thu, 7 Jun 2018 08:15:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 14FBD2108B for ; Thu, 7 Jun 2018 08:15:00 +0000 (UTC) Date: Thu, 7 Jun 2018 08:15:00 +0000 (UTC) From: "Bruno P. Kinoshita (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IMAGING-217) ImageMetadata NULL returned from Imaging.getMetadata() for JPEG MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IMAGING-217?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D165= 04391#comment-16504391 ]=20 Bruno P. Kinoshita commented on IMAGING-217: -------------------------------------------- {noformat} $ jhove P1002265.JPG Jhove (Rel. 1.6, 2011-01-04) =C2=A0Date: 2018-06-07 20:14:09 NZST =C2=A0RepresentationInformation: P1002265.JPG =C2=A0 ReportingModule: JPEG-hul, Rel. 1.2 (2007-02-13) =C2=A0 LastModified: 2018-06-07 20:10:17 NZST =C2=A0 Size: 6297644 =C2=A0 Format: JPEG =C2=A0 Status: Well-Formed, but not valid =C2=A0 ErrorMessage: File does not begin with SPIFF, Exif or JFIF segment =C2=A0=C2=A0 Offset: 138 =C2=A0 MIMEtype: image/jpeg =C2=A0 JPEGMetadata: =C2=A0=C2=A0 CompressionType: Huffman coding, Baseline DCT =C2=A0=C2=A0 Images: =C2=A0=C2=A0=C2=A0 Number: 1 =C2=A0=C2=A0=C2=A0 Image: =C2=A0=C2=A0=C2=A0=C2=A0 NisoImageMetadata: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ByteOrder: big_endian =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CompressionScheme: JPEG =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ImageWidth: 5184 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ImageHeight: 3456 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 BitsPerSample: 8, 8, 8 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 BitsPerSampleUnit: integer =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 SamplesPerPixel: 3 =C2=A0=C2=A0=C2=A0=C2=A0 PixelAspectRatio: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 PixelAspectRatioX: 0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 PixelAspectRatioY: 0 =C2=A0=C2=A0=C2=A0=C2=A0 RestartInterval: 0 =C2=A0=C2=A0=C2=A0=C2=A0 Scans: 1 =C2=A0=C2=A0=C2=A0=C2=A0 QuantizationTables: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 QuantizationTable: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Precision: 8-bit =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 DestinationIdentifier: 0{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)= =C2=A0- > The same file ImageInfo is geting pulled via Imaging.getImageInfo() > {code:java} > File imageFile =3D new File("D:\\sample_files\\P1002265.jpg"); > ImageInfo imageInfo =3D Imaging.getImageInfo(imageFile); > System.out.println(imageInfo); > ImageMetadata imageMetadata =3D Imaging.getMetadata(imageFile); > System.out.println(imageMetadata); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)