Return-Path: X-Original-To: apmail-pdfbox-dev-archive@www.apache.org Delivered-To: apmail-pdfbox-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BFEB188DC for ; Sun, 6 Dec 2015 21:58:11 +0000 (UTC) Received: (qmail 43281 invoked by uid 500); 6 Dec 2015 21:58:11 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 43257 invoked by uid 500); 6 Dec 2015 21:58:11 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 43246 invoked by uid 99); 6 Dec 2015 21:58:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2015 21:58:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1129C2C1F5B for ; Sun, 6 Dec 2015 21:58:11 +0000 (UTC) Date: Sun, 6 Dec 2015 21:58:11 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@pdfbox.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PDFBOX-3153) Direct JPEG extraction results in invalid images in 2.0.0 releases. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044174#comment-15044174 ] ASF subversion and git services commented on PDFBOX-3153: --------------------------------------------------------- Commit 1718230 from [~tilman] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1718230 ] PDFBOX-3153: add test > Direct JPEG extraction results in invalid images in 2.0.0 releases. > ------------------------------------------------------------------- > > Key: PDFBOX-3153 > URL: https://issues.apache.org/jira/browse/PDFBOX-3153 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Affects Versions: 2.0.0 > Environment: Observed on both Linux and Mac > Reporter: John Logan > Assignee: Tilman Hausherr > Labels: extraction, image > Fix For: 2.0.0 > > Attachments: parents.pdf > > > When I run pdfbox-app ExtractImages on a PDF containing an image with a DeviceRGB colorspace, the resulting JPEG file is very large (5.3MB, while the source PDF is 320KB). > I see this with the 2.0.0-RC2 release, I also encounter the problem with a build from today's trunk. > If I modify the code to force usage of ImageIO, a valid JPEG file results. > The image extracts properly in the 1.8.10 version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org For additional commands, e-mail: dev-help@pdfbox.apache.org