Re: 16-bit gray PNG write broken?

Posted by Harry Parker on
URL: http://imagej.273.s1.nabble.com/16-bit-gray-PNG-write-broken-tp3695138p3695143.html

This is a long standing limitation of ImageJ's built-in PNG writer.

The solution is to install the "Image IO" plugin. This adds the ability to save 16 bit PNG files correctly, as well as other formats such as compressed and tiled TIFF images.  

See the Image IO plugin home page at
http://ij-plugins.sourceforge.net/plugins/imageio

and download it from
http://sourceforge.net/project/showfiles.php?group_id=44711&package_id=37687

 
--
Harry Parker
Senior Imaging Systems Engineer
Digital Imaging Systems, Inc.



----- Original Message ----
From: G. Jehle <[hidden email]>
To: [hidden email]
Sent: Tuesday, September 9, 2008 1:48:02 PM
Subject: 16-bit gray PNG write broken?

Hi everyone,

I'm running ImageJ 1.39u on Ubuntu GNU/Linux (x86_64).

Whenever I try to save a simple '16-bit grayscale' image
as PNG, ImageJ saves a '8-bit/color RGB' image instead.

I generated a 16-bit gray PNG using Matlab.
Opening the PNG in ImageJ; works just fine with ImageJ
recognizing the file as 16-bit gray, all values look ok.

However, using 'File > Save As > PNG...' on the very
file just opened results in a '8-bit/color RGB' PNG to be
saved.

Any ideas to why this might happen?

//
Best regards,

G. Jehle

HTWG Konstanz - University of Applied Sciences
Fakultät Informatik

HTWG Konstanz
Fakultät Informatik
Brauneggerstraße 55
D-78462 Konstanz
www.htwg-konstanz.de