LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-27-2007, 02:16 PM   #1
eyemeansit
LQ Newbie
 
Registered: Dec 2005
Location: Florida, USA
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 1
How to add metadata to png file?


Hiya!

I have created a series of 50 .png images for use as a slideshow or screensaver. I would like to add image credits, authorship data, comments,etc. to each file, (as metadata, not as part of the image itself) but can't figure out how to do this. The .png's are artwork that I created in Blender/Gimp/Xara, and thus have no exif info such as what a camera would provide. Any ideas on how to do this?

Thanks!

Les
 
Old 07-27-2007, 03:13 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The ImageMagick graphics tools (included with most distributions) contain the tools to do this. For example:

Code:
mogrify -comment "test" /somedir/somephoto.png
The above will add the comment "test" to the file, which you can display with:

Code:
identify -verbose  /somedir/somephoto.png | grep "Comment:"
For example to add a comment to all .png files in the current directory:

Code:
for file in *.png ; do mogrify -comment "test" "$file" ; done
For more information on what you can change:

Code:
mogrify | less

Last edited by macemoneta; 07-27-2007 at 03:15 PM.
 
Old 07-27-2007, 09:19 PM   #3
eyemeansit
LQ Newbie
 
Registered: Dec 2005
Location: Florida, USA
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 1
ummm....

...any other (GUI)ideas? ImageMagick is way beyond me, sorry!
 
Old 01-15-2008, 01:43 PM   #4
eyemeansit
LQ Newbie
 
Registered: Dec 2005
Location: Florida, USA
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 1
I managed to accomplish this with Digikam's KIPI tools... but only after converting the .png's to .jpegs. Apparently the .png format is lacking in standardization as to how it handles metadata, and therefore the lack in standard gui tools?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum in fc4 error - metadata file does not match dark_prancer Linux - Newbie 6 03-17-2011 07:38 PM
YUM - Metadata file does not match checksum erolleman Fedora 3 06-15-2007 04:54 PM
LXer: Linux: Btrfs, File Data and Metadata Checksums LXer Syndicated Linux News 0 06-14-2007 12:31 PM
metadata file does not match checksum ? anilbh Fedora 4 04-15-2007 01:08 PM
file version metadata under Unices blakemadden Programming 6 12-01-2006 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration