Page 1 of 1

IPTC data truncated on Linux platform

Posted: 2007-11-05T15:11:19-07:00
by fcaserio
I'm having problems applying IPTC to JPG on Linux with IM 6.2.8.
After applied the caption data is truncated on JPG file.

IPTC is applied with the following command:

Code: Select all

convert +profile 8BIM +profile IPTC -profile 8BIMTEXT:00000092.iptc 00000092.jpg 00000092.jpg
00000092.iptc has the following syntax:

Code: Select all

2#5#Object Name="92"
2#25#Keyword="Mulheres"
2#40#Special Instructions="Uso exclusivo da redação Dedoc;"
2#80#Byline="Camila Maia; Mariana Lukaks"
2#90#City="Nova York (EUA)"
2#110#Credit="Agencia O Globo; KEYSTONE"
2#115#Source="N"
2#120#Caption="Data da foto: 01/2000&#13Mulheres sentadas.."
2#122#Caption Writer="DEDOC:92 - 14/08/2001 - Dedoc"
2#200#Custom Field 1="Dedoc"
2#203#Custom Field 4="00/01/2000"
2#204#Custom Field 5="Franguinhas interessantes"
When I check IPTC added to 00000092.jpg caption is truncated:
2#120#Caption="Data da foto: 01/2000
#13Mulheres sent"
instead of:
2#120#Caption="Data da foto: 01/2000&#13Mulheres sentadas.."
Using the same syntax and files on Windows with IM 6.3.5-Q16 this problem is not happening.

Tks for the assistance