PNG input/output without losing calibration settings?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PNG input/output without losing calibration settings?

Burger Wilhelm
Hello all,

it appears that opening and saving images in PNG format with plain ImageJ currently discards all resolution/calibration settings. I thought of rewriting the associated plugins with PNGJ (http://code.google.com/p/pngj/, with good support for reading/writing metadata) but perhaps someone has a simpler solution?

Thanks for any hints --
Wilhelm.
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

AW: PNG input/output without losing calibration settings?

Marsen Bjoern (SE/ECD)
Hello Wilhelm,

I agree with you about the need for reading/writing metadata with PNG image files. It appears no one else has come up with a simpler solution than your idea (rewriting the associated plugins with PNGJ). I would very much appreciate your efforts.

Mit freundlichen Grüßen / Best regards

Björn Marsen

-----Ursprüngliche Nachricht-----
Von: ImageJ Interest Group [mailto:[hidden email]] Im Auftrag von Burger Wilhelm
Gesendet: Samstag, 25. Mai 2013 19:30
An: [hidden email]
Betreff: PNG input/output without losing calibration settings?

Hello all,

it appears that opening and saving images in PNG format with plain ImageJ currently discards all resolution/calibration settings. I thought of rewriting the associated plugins with PNGJ (http://code.google.com/p/pngj/, with good support for reading/writing metadata) but perhaps someone has a simpler solution?

Thanks for any hints --
Wilhelm.
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: AW: PNG input/output without losing calibration settings?

Michael Schmid
Hi Wilhelm, Björn,

the PNGJ library seems to have Apache license 2.0; this is probably incompatible with the license-free status of ImageJ, so there might be problems to include this code in the ImageJ core. I guess that it would be compatible with ImageJ2 (though I don't know).
Of course, an external plugin would be unaffected by this.

Nevertheless, having metadata in PNG would be nice!

Michael
________________________________________________________________
On May 29, 2013, at 07:41, Marsen Bjoern (SE/ECD) wrote:

> Hello Wilhelm,
>
> I agree with you about the need for reading/writing metadata with PNG image files. It appears no one else has come up with a simpler solution than your idea (rewriting the associated plugins with PNGJ). I would very much appreciate your efforts.
>
> Mit freundlichen Grüßen / Best regards
>
> Björn Marsen

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html