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 B0E6A9FF3 for ; Tue, 29 May 2012 16:29:24 +0000 (UTC) Received: (qmail 42214 invoked by uid 500); 29 May 2012 16:29:24 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 42166 invoked by uid 500); 29 May 2012 16:29:24 -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 42025 invoked by uid 99); 29 May 2012 16:29:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2012 16:29:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 23895142857 for ; Tue, 29 May 2012 16:29:24 +0000 (UTC) Date: Tue, 29 May 2012 16:29:24 +0000 (UTC) From: =?utf-8?Q?Andreas_Lehmk=C3=BChler_=28JIRA=29?= To: dev@pdfbox.apache.org Message-ID: <920651642.11518.1338308964147.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1706752030.364.1337870215693.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (PDFBOX-1322) gif with less than 256 colors prints wrong colors 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/PDFBOX-1322?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Lehmk=C3=BChler updated PDFBOX-1322: --------------------------------------- Attachment: PDFBOX1322-GIF_Color_Test.ps.zip =20 > gif with less than 256 colors prints wrong colors > ------------------------------------------------- > > Key: PDFBOX-1322 > URL: https://issues.apache.org/jira/browse/PDFBOX-1322 > Project: PDFBox > Issue Type: Bug > Affects Versions: 1.6.0 > Environment: windows 7, java 1.6, jasperreports/ireport 4.5.1 > Reporter: John T. Dow > Assignee: Andreas Lehmk=C3=BChler > Labels: accuracy, color > Attachments: GIF_Color_Test.PDF, PDFBOX1322-GIF_Color_Test.ps.zip= , mastercard_logo.gif > > > Using JasperReports, generate report with embedded jpg image. To make the= resulting pdf smaller, I converted the image to a gif and tried to use as = few colors as possible. The image is very simple and jpg wasn't the correct= format to begin with, since it just has three colors. I used fsview to red= uce the number of colors from 256 to 4. It is correct when printed by adobe= , but when the java program, using pdfbox, prints it, the white background = is prints as grey and the solid blue section seems less saturated so it's a= light blue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira