Solved

Write IPTC Data to Jpeg with ImageMagick

Posted on 2004-08-13
4
6,034 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Indesign file needs voice and vary speed. 3 276
Need help capturing screenshot of scrolling web page 7 245
Need public domain images 7 133
graphic software 6 92
Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
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…
In this Micro Tutorial viewers will learn how to remove an unwanted object using Photoshop’s feature known as content-aware fill.
Learn the basics of inputting and editing your text components in Prezi. We will cover how to set styles, position, and group your text components. In your Prezi editor, click anywhere on the canvas to add text: A flashing cursor informs you that yo…

679 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