Feature #464

Support PNG images

Added by Andreas Huggel 1434 days ago. Updated 451 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:Gilles Caulier % Done:

100%

Category:metadata
Target version:0.18

Description

Needs a new PngImage class to parse (decode and encode) metadata from/into PNG images. Among the metadata types that can be stored in PNG images are Exif, IPTC and XMP.

Additional information:

From Gilles Caulier:

If you is interressed to make a simple PNG parser in Exiv2 (My dream (:=))),
just take a look in KDE API (KFileMetaInfo class). This is a simple class to
extract metadata (not too powerfull than Exiv2) from image/audio/video file.

About PNG KFileMetaInfo use a plugin to parse in read only PNG file. The code
is simple and do not use libPNG :

http://websvn.kde.org/trunk/KDE/kdegraphics/kfile-plugins/png/kfile_png.cpp?rev=506839&view=auto

If you want some help to clarify Qt/KDElib API, let's me hear...

About Raw profile embedded into PNG file by IM, take a look here :

http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PNG.html#TextualData

look like IM can provide also XMP raw profile !!! For the future of Exiv2
(:=)))...

From http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PNG.html#TextualData:

Metadata is stored in PNG TextualData format, which allows aribrary tag names to be used. The information for the TextualData tags may be stored as tEXt, zTXt or iTXt chunks in the PNG image.

History

Updated by mikolaj - 688 days ago

Isn't it implemented?

Updated by Andreas Huggel 688 days ago

~986: Only read support is available yet.

Updated by Andreas Huggel 554 days ago

Gilles added write support in
r1537-1541

Updated by Andreas Huggel 452 days ago

  • % Done changed from 0 to 100

Updated by Andreas Huggel 451 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF