Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E2FE10E11 for ; Sat, 14 Dec 2013 03:44:13 +0000 (UTC) Received: (qmail 11828 invoked by uid 500); 14 Dec 2013 03:44:08 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 11724 invoked by uid 500); 14 Dec 2013 03:44:00 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 11697 invoked by uid 99); 14 Dec 2013 03:43:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 03:43:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of unstate@gmail.com designates 209.85.217.177 as permitted sender) Received: from [209.85.217.177] (HELO mail-lb0-f177.google.com) (209.85.217.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 03:43:53 +0000 Received: by mail-lb0-f177.google.com with SMTP id q8so102908lbi.8 for ; Fri, 13 Dec 2013 19:43:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=az1892R+DDJ8+eicnNqD+2x++KuX4lrjcXIjNbpZQhw=; b=TCV8Xwd0CDVme+EBqzLF6pZ1QEA9ZzISadpO0hrJ3pyTwEd8ms0zcZtFf/wUKW91xl 8r/AcJUIe8v73xpYjwx7DRjL//KSisnvTXDY5nY1J2CT1hxbTosU6Rz8sfrCxgbMW6+c T1tWGN3rYZYecaQgsqmiYIk1Vpz7nx3AzRSR18Amv425tDqlYV4xLpTO6o235Y44R37/ QGaUXh+jOtnioZyNz7N6OlXOlNXD7S1TINFt4sAFs1NH4df4znRj1CO33HudRRwiZGK6 Tk+Vo6tJNLaiPrHq5pxhPwEa+REXC/mAh0IrIwZm5kHM1y3Nw8+4hkh5BLaBpWltzxnp gFWw== MIME-Version: 1.0 X-Received: by 10.112.14.34 with SMTP id m2mr434189lbc.13.1386992612422; Fri, 13 Dec 2013 19:43:32 -0800 (PST) Sender: unstate@gmail.com Received: by 10.152.228.139 with HTTP; Fri, 13 Dec 2013 19:43:32 -0800 (PST) Date: Fri, 13 Dec 2013 20:43:32 -0700 X-Google-Sender-Auth: qWHXZA4-bYuhBs1nMmxFUZlLevg Message-ID: Subject: 16-bit pgm images From: Paul Dumais To: user@commons.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org There seems to be a bug in the documentation at: http://commons.apache.org/proper/commons-imaging/apidocs/index.html for the pgm format support. It claims full read support for pgm files. However: Reading of 16-bit pgm images does not appear to be supported. When I display the buffered image read via the Imaging class, I see a very fuzzy image which I imagine is what you would see if you tried to read in a 16 bit pgm via a loader that expects 8 bits (you get overflow on the unsigned 8 bit ints. I think documentation should explicitly note which bit depths are supported. Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org