Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access PNG Metadata

How can I access/remove PNG metadata?

I'm looking for a Mac application or a PHP snippet.

like image 702
Tomer Lichtash Avatar asked Sep 06 '09 22:09

Tomer Lichtash


People also ask

Is there metadata in a PNG?

Textual information chunks - the metadata in PNGThe iTXt, tEXt, and zTXt chunks (text chunks) are used for conveying textual information associated with the image. They are the places we can find all metadata of PNG file.

Can PNG store metadata?

PNG has no EXIF chunk. Thus EXIF metadata will get lost if you convert from JPEG into PNG. However Adobe has made XMP for storing all kinds of metadata. So that you can convert between JPEG and PNG while preserving metadata.


2 Answers

Sorry to post a Windows software, but if you don't find anything good for MAC, there's TweakPNG, which is by far the best PNG disassembler I've seen.

like image 146
Vilx- Avatar answered Sep 28 '22 12:09

Vilx-


PNGCrush can remove metadata as well as optimize/recompress the bitmap images.

like image 43
dajobe Avatar answered Sep 28 '22 11:09

dajobe