Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Write IPTC Data to Jpeg with ImageMagick

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adobe Illustrator CS6 - font not found 7 2,613
add colored shadow in AI CS5 7 223
Graphics quality 5 72
Exdpanding a PNG image 15 76
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.
Learn how to set up basic frames and paths in Prezi and understand the open space that Prezi allows you to create presentations in.
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…

789 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