Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4114910329 for ; Thu, 27 Feb 2014 14:39:33 +0000 (UTC) Received: (qmail 39592 invoked by uid 500); 27 Feb 2014 14:39:26 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 39404 invoked by uid 500); 27 Feb 2014 14:39:24 -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 39264 invoked by uid 99); 27 Feb 2014 14:39:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 14:39:21 +0000 Date: Thu, 27 Feb 2014 14:39:21 +0000 (UTC) From: "Gary Lucas (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IMAGING-126) TIFF and PNG images should not be bigger than the ones created by java ImageIO 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/IMAGING-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914578#comment-13914578 ] Gary Lucas commented on IMAGING-126: ------------------------------------ Well, the information about Commons Compress is good news. I did quite a bit of searching the other day for Java and LZW and never found it. Just goes to show that Google doesn't know everything. Of course, when I saw Damjan's post, I tried "Java Unix Compress" and the Commons Compress project was the first hit in my search... Just goes to show that I know even less that Google :-) Even though I brought up the issue of the speed of the compressor in this discussion, it really is a separate issue. I will investigate the faster compressor and then open up a new issue based on my results. Any changes conducted as part of IMAGING 126 should focus on the size issue. I have a real dilemma in terms of making Imaging depend on another project or just lifting the code out of the alternate project and adding it to Imaging. Neither alternative is particularly palatable. Has the Apache community come up with a good practice for this kind of thing? > TIFF and PNG images should not be bigger than the ones created by java ImageIO > ------------------------------------------------------------------------------ > > Key: IMAGING-126 > URL: https://issues.apache.org/jira/browse/IMAGING-126 > Project: Commons Imaging > Issue Type: Improvement > Components: Format: PNG, Format: TIFF > Affects Versions: 1.0 > Environment: W7 > Reporter: Tilman Hausherr > Priority: Minor > Attachments: Imaging_126_patch_1.patch, pdfbox-1870-devicen3-01.png, pdfbox-1870-devicen3-01.tif, pdfbox-1870-devicen3.pdf-1.png, pdfbox-1870-devicen3.pdf-1.tif > > > I tried to use Apache Imaging for the PDFBOX project (PDFBOX-1734) because of problems with setting the tiff resolution in java imageio. > While the code is pretty nice, I found that the generated images are sometimes much bigger in size than the ones generated by java imageio. > Example: > pdfbox-1870-devicen3-01.png 50 KB (imageio) > pdfbox-1870-devicen3.pdf-1.png 70 KB (imaging) > pdfbox-1870-devicen3-01.tif 401 KB (imageio) > pdfbox-1870-devicen3.pdf-1.tif 1063 KB (imaging) -- This message was sent by Atlassian JIRA (v6.1.5#6160)