Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Write IPTC Data to Jpeg with ImageMagick

Posted on 2004-08-13
4
Medium Priority
?
6,266 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
[X]
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
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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.
In this second Micro Tutorial in the series,  viewers will learn more basic shortcuts and functions of Illustrator. In this tutorial you will learn about the eyedropper tool, zoom , ellipses and more.
In this Micro Tutorial viewers will learn how to remove an unwanted object using Photoshop’s feature known as content-aware fill.
Suggested Courses

715 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