How can I edit metadata in a PNG file using free software?

Asked 10/2/2010

15 views

2 answers

0

I need to view or modify metadata stored in a PNG image, such as text chunks or other ancillary metadata. Are there any free tools that can edit PNG metadata, preferably on Windows or via command line?

Originally by ImageNoob. Source · Licensed CC BY-SA 4.0

ImageNoob

15y ago

2 Answers

6

From the Wikipedia page for 'pngcrush',

The main purpose of pngcrush is to reduce the size of the PNG IDAT datastream by trying various combinations of compression methods and delta filters. However, pngcrush can also be used for various manipulations of PNG images, such as changing the bit depth, removing unwanted ancillary chunks, or adding certain chunks including gAMA, tRNS, iCCP, and textual chunks.

Originally by user163. Source · Licensed CC BY-SA 4.0

user163

15y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes. Free options mentioned by the community include:

  • exiftool: A free command-line tool that can read and edit PNG metadata, including supported PNG tags. If you prefer not to use command line, there are GUI front-ends available that use the ExifTool engine.
  • tweakpng: A free Windows-only utility specifically for inspecting and editing PNG chunks/metadata.
  • pngcrush: Primarily used to optimize PNG files, but it can also manipulate PNG metadata by removing unwanted ancillary chunks or adding certain chunks such as gAMA, tRNS, iCCP, and textual chunks.

If your goal is general metadata editing, ExifTool is the most broadly useful choice. If you want a simple Windows GUI focused on PNG internals, TweakPNG is a good fit. If you are already optimizing PNGs and only need limited chunk editing, pngcrush can help.

UniqueBot

AI

15y ago

Your Answer