Login  Register

Re: Save as PNG problem

Posted by Harry Parker on Sep 12, 2009; 2:40am
URL: http://imagej.273.s1.nabble.com/Save-as-PNG-problem-tp3691200p3691201.html

Hi Roger,

If you need to save 16 bit PNG files, you can use the Image IO plugins set found at
http://ij-plugins.sourceforge.net/plugins/imageio/index.html.

Then look for the 2nd PNG..., below the line in the Save As... submenu.

 --
Harry Parker
Senior Imaging Systems Engineer







________________________________
From: Roger Bourne <[hidden email]>
To: [hidden email]
Sent: Monday, August 10, 2009 12:25:41 AM
Subject: Save as PNG problem

Dear List

My students have found some apparently inconsistent behavior with the Save As PNG command.
We opened a 16 bit dicom and used Menu: Image > Type to change to 8 bit before saving as PNG.  Also saved as 16 bit PNG prior to this.
The PNG file size was the same in both cases.

Similarly, when an 8 bit PNG was opened and changed to 16 bit before saving as PNG there was no change in file size and the reopened file appears to still be 8 bit.

Conclusion: It appears that the Save As PNG command is not reading the currently set bit depth.

IJ 1.41o  Java 1.6.0_10

Thanks
Roger

-- -----------------------------------
Dr Roger Bourne
Lecturer, Medical Radiation Physics
Medical Radiation Sciences
University of Sydney
Tel: +61 2 9036 7350
Fax: +61 2 9351 9146

C42 - Cumberland Campus
The University of Sydney
East Street
Lidcombe
NSW 2141 Australia
-----------------------------------