GNOME Bugzilla – Bug 613288
Display PNG information in image properties
Last modified: 2012-09-25 16:26:10 UTC
It would be nice to see content of PNG tEXt chunks (like "comment" or "author") on the "image" tab. Same option works for JPG and some other types, but for PNG it doesn't.
Created attachment 224726 [details] [review] Clean up the image properties code
Created attachment 224727 [details] [review] Add extra data to the image properties That includes PNG tEXt chunk information.
Test with http://www.schaik.com/pngsuite/ct1n0g04.png
Review of attachment 224726 [details] [review]: Looks good
Review of attachment 224727 [details] [review]: Looks good after we branch, since it introduces a number of new strings. ::: src/nautilus-image-properties-page.c @@ +368,3 @@ + append_option_value_pair (page, pixbuf, "tEXt::Comment", _("Comment")); + + if (!append_option_value_pair (page, pixbuf, "Author", _("Author"))) Hmm, I think icc-profile is usually raw base64-encoded data, not sure it's worth displaying it as a string here.
Yeah I wasn't sure about that either. Should probably drop it here and do it in bug 626980.
Created attachment 224764 [details] [review] Add extra data to the image properties That includes PNG tEXt chunk information.
Review of attachment 224764 [details] [review]: ++
Attachment 224726 [details] pushed as 07d18c6 - Clean up the image properties code Attachment 224764 [details] pushed as a9c2a22 - Add extra data to the image properties