Dear all,
I've tried searching within the forum with no success. We are using the command montage to print to a pdf a contact sheet with many images. Also we use the option label to print out a description extracted from EXIF information:
montage.exe"" -font Arial -verbose -label %[EXIF:ImageDescription] -tile 4x3 -define jpeg:size=200x200 -geometry 300x300+40+40 " &sObjFolder&"\*.JPG "&sObjFolderTemp&"\contact.jpg
But when the image description has accents, these characters aren't printed off properly.
Any idea on how to correct it? I need to use montage instead of draw...
thank you very much for your help!
Montage -label with accents (unicode)
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Montage -label with accents (unicode)
In questions, please ALWAYS state what version of IM, and what your environment is.
From your backslashes, perhaps you use Windows. But the ampersands suggest something else.
EDIT: And a sample image that shows the problem would also help. Put it somewhere like dropbox.com and paste the URL here.
From your backslashes, perhaps you use Windows. But the ampersands suggest something else.
EDIT: And a sample image that shows the problem would also help. Put it somewhere like dropbox.com and paste the URL here.
snibgo's IM pages: im.snibgo.com
Re: Montage -label with accents (unicode)
Hi, ok, sorry. I'm using ImageMagick-6.9.1-2 on windows 7. The sample can be found here: https://www.dropbox.com/s/ti47hfczxh8um ... s.pdf?dl=0
for example, look at the phrase "Espíritu de la noche blanco", where the accent is not printed.
thank you
for example, look at the phrase "Espíritu de la noche blanco", where the accent is not printed.
thank you
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Montage -label with accents (unicode)
The uploaded file, contactos.pdf, doesn't contain EXIF:ImageDescription.
snibgo's IM pages: im.snibgo.com
Re: Montage -label with accents (unicode)
Hi the image uploaded is the final pdf. Here you can find an image used to generate this PDF: https://www.dropbox.com/s/b3boyv1b486bz ... 1.jpg?dl=0
thank you!
thank you!
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Montage -label with accents (unicode)
It seems to work fine for me, IM v6.9.1-0 on Windows 8.1.
esparitu.jpg is:
You might check that your font contains all the glyphs you need. From memory, the default Arial font on Win7 omitted many characters.
Code: Select all
montage -verbose -label %[EXIF:ImageDescription] -geometry 300x300 x.jpg esparitu.jpg
You might check that your font contains all the glyphs you need. From memory, the default Arial font on Win7 omitted many characters.
snibgo's IM pages: im.snibgo.com
Re: Montage -label with accents (unicode)
Hi,
in fact it is not working well, sorry if a I haven't explained well the problem, it should be ESPÍRITU, and prints ESPÃ.RITU.
thank you very much
in fact it is not working well, sorry if a I haven't explained well the problem, it should be ESPÍRITU, and prints ESPÃ.RITU.
thank you very much
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Montage -label with accents (unicode)
In that case, I don't know. Sorry.
snibgo's IM pages: im.snibgo.com