ska-o (ska_o) wrote in java_dev,

PNG metadata

Does anyone know of a way (hopefully a simple way) to add metadata, especially non-standard tags, to a PNG file? I'm working on a project that involves using a lot of high-bit-depth B&W images from a microscope, and the best format so far seems to be PNG. The camera produces uncompressed TIFF.

I've mostly been working with ImageJ for this project but had to use a little workaround to convert to PNG correctly.

Anything with lossy compression, such a JPEG, will not work. PNG is very convenient but I haven't figured out the support for metadata.

Compressed TIFF may also work, although compression is probably worse, and I'm not totally sure it's going to be easy to write the non-standard tags.

Any advice?
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded