Tomer Lichtash
Tomer Lichtash

Reputation: 9262

Access PNG Metadata

How can I access/remove PNG metadata?

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

Upvotes: 7

Views: 17195

Answers (6)

Phil Harvey
Phil Harvey

Reputation: 400

exiftool is a Perl command-line application and library that has the ability to write PNG metadata. It is multi-platform, and even has an OS X installer version.

Upvotes: 2

David Jones
David Jones

Reputation: 5194

My answer to another question gives a short Python script that removes all non-critical chunks. You'll need to download PyPNG, but that's just one Python file.

Upvotes: 0

neoneye
neoneye

Reputation: 52221

A search for png on iUseThis yields a long list of apps for trimming pngs.

I have ImageOptim installed, but I cannot remember if that one really was the best of them all. I did try out a few.

Upvotes: 1

Vilx-
Vilx-

Reputation: 106980

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.

Upvotes: 11

dajobe
dajobe

Reputation: 5036

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

Upvotes: 4

karim79
karim79

Reputation: 342695

Take a look at Smush_it image optimizer + API.

Upvotes: 2

Related Questions