Solved

Write IPTC Data to Jpeg with ImageMagick

Posted on 2004-08-13
4
5,821 Views
Last Modified: 2007-12-19
I have been trying for hours to write the iptc data below to my image, the closest to success I have gotten was getting it in plain text into the image file.


I have tried the following commands...

convert -verbose -profile iptc:image.iptc.jpg image.jpg image.iptc.jpg
convert identify -verbose +profile image.iptc.txt image.jpg image.iptc.jpg
convert identify -verbose -profile image.iptc.txt image.jpg image.iptc.jpg
convert identify -verbose -profile iptc:image.iptc.txt image.jpg image.iptc.jpg
convert identify -verbose -profile iptctext:image.iptc.txt image.jpg image.iptc.jpg


... and a few other combinations to add my iptc profile into the image

I don't know if the contents of the file are incorrect or what  

I am using ImageMagick-5.5.6-4

PLEASE HELP!!!


Thanks,
Jake



Contents of image.iptc.txt

2#0="�"
2#120#Caption="Some caption"
2#122#Caption Writer="Me"
2#105#Headline="Los Angeles premiere"
2#40#Special Instructions="pcn"
2#10#Priority="2"
2#80#Byline="MMMM"
2#85#Byline Title="asdasdasd"
2#110#Credit="asdasd.com"
2#115#Source="My MEDIA"
2#5#Image Name="Test"
2#55#Created Date="20040129"
2#90#City="Westwood"
2#95#Province State="CA"
2#101#Country="United States"
0
Comment
Question by:e-b
4 Comments
 

Author Comment

by:e-b
ID: 11798025
I Figured it out...

convert +profile 8BIM +comment -profile 8BIMTEXT:image.jpg.iptc image.jpg image.iptc.jpg
0
 
LVL 1

Expert Comment

by:kaustav
ID: 11817340
Imagemagick Alpha Compositing :
More details:
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/compose/
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12050199
PAQed, with points refunded (150)

Computer101
E-E Admin
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Add visuals to your Prezi to keep your audience engaged. Learn how to embed images, edit them, and more in this video micro tutorial. Select "Insert" from the top menu in your Prezi editor: Select "Image": A toolbar will pop in from the right …
In addition to being a great web-based presentation tool, Prezi also makes it easy to save your presentation as a PDF to share with others as well. Learn how in this tutorial. Select the share icon from the top menu in your Prezi editor: Select "D…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now