Login  Register

Re: strange PNG reading behavior

Posted by Wayne Rasband on Jul 11, 2008; 3:09pm
URL: http://imagej.273.s1.nabble.com/strange-PNG-reading-behavior-tp3695616p3695617.html

> Hi All
>
> I am finding that any (Photoshop) grayscale PNG image I open with
> ImageJ is automatically equalized and converted to RGB.
> The same image saved as TIF (in Photoshop) opens as 8 bit without
> equalization.
> The 8 bit TIF image saved as PNG in ImageJ reopens as RGB without
> equalization.
> Can I stop this happening?

What version of ImageJ are you using?  I found this by searching the
release notes (http://rsb.info.nih.gov/ij/notes.html) for "PNG":

    1.41c, 16 May 2008
         Fixed a bug that caused 8-bit PNGs to open in RGB format.

To upgrade, use the Plugins>Utilities>Update ImageJ command. Or
download the latest ij.jar (v1.41g) directly from
<http://rsb.info.nih.gov/ij/update/ij.jar>.

-wayne