Solved

Write IPTC Data to Jpeg with ImageMagick

Posted on 2004-08-13
4
5,954 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
In this tutorial viewers will learn how to create blended and gradiated shapes in Illustrator using the blend tool Draw two shapes, one of them in a different color: Select both and create a blend by going to Object > Blend > Make: Blends can also b…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

777 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