Write 8BIM text to a psd file

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
kaerveck
Posts: 1
Joined: 2014-05-20T09:39:22-07:00
Authentication code: 6789

Write 8BIM text to a psd file

Post by kaerveck »

Hello All,

I'm using ImageMagick to write some 8BIMTEXT to a PSD file. Actually I'm using the version ImageMagick 6.7.7-10 2014-04-30 Q16.

My problem is related to /n character. I'm trying to write the following metadata:
2#105#Headline="Bacalhau
Boa Pesca
Posta Higienizada
Congelada
Kg"

Using the 
 to put a end of line.

The command that I use is:
convert +profile "*" +comment -profile IPTCTEXT:image_1400145490556.txt 29.psd FOTO_DEST.psd

When I open the generated PSD file into the Photoshop the result is:
Queijo Flamengo Barra
Valfor
K13;Kg
Benfica


and should be:

Bacalhau
Boa Pesca
Posta Higienizada
Congelada
Kg


If I remove a line and use only 3 lines everything goes well.

Thank you very much.
Post Reply