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 540E199FD for ; Mon, 12 Mar 2012 08:02:11 +0000 (UTC) Received: (qmail 57237 invoked by uid 500); 12 Mar 2012 08:02:10 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 56470 invoked by uid 500); 12 Mar 2012 08:02:09 -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 56275 invoked by uid 99); 12 Mar 2012 08:02:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 08:02:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 08:02:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0BEAE1B506 for ; Mon, 12 Mar 2012 08:01:46 +0000 (UTC) Date: Mon, 12 Mar 2012 08:01:46 +0000 (UTC) From: "Piyush Kapoor (Updated) (JIRA)" To: issues@commons.apache.org Message-ID: <555475499.1327.1331539306050.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1935223184.21873.1330942316776.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SANSELAN-66) Sanselan can't render 48 bit pixel Tiff image (bit per samples ={16,16,16}) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANSELAN-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piyush Kapoor updated SANSELAN-66: ---------------------------------- Attachment: tiffimage.patch I have removed the byte order from static to private , but there are some additional arguments in some of the api . Please have a look at it. > Sanselan can't render 48 bit pixel Tiff image (bit per samples ={16,16,16}) > --------------------------------------------------------------------------- > > Key: SANSELAN-66 > URL: https://issues.apache.org/jira/browse/SANSELAN-66 > Project: Commons Sanselan > Issue Type: Bug > Components: Format: TIFF > Environment: Windows 7 64 bit > Reporter: Piyush Kapoor > Labels: patch > Attachments: BinaryFileParser.java.patch, tiffimage.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > We have a very large Tiff image tha uses 16 bits for each pixel (bits per sample total = 48) . The class org.apache.commons.sanselan.common.Bitinputstream didn't have support for Endianness of the Tiff format . I added that support in the patch and image worked absolutely fine. > The image is very large . If you want i can upload it (140 mb).Otherwise here is the patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira