Montage error when loading files with unicode chars

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
thomaass
Posts: 3
Joined: 2014-04-09T05:55:14-07:00
Authentication code: 6789

Montage error when loading files with unicode chars

Post by thomaass »

Hi, First post here, hope you guys can help.

I'm using Montage to put some images together, but I'm having a problem when the filenames includes unicode/utf characters when they are being loaded using a wildcard.

My files are:
téstæøå_01.jpg
téstæøå_02.jpg
téstæøå_03.jpg

my .bat file contains:
montage téstæøå_01.jpg téstæøå_02.jpg téstæøå_03.jpg -tile x1 -geometry +0+0 output.jpg
montage téstæøå_*.jpg -tile x1 -geometry +0+0 output.jpg

These two lines does exactly the same, the later one is just easier to work with as I don't have to construct a long list with all the filenames. The first line works perfectly, the second line I'm getting "Unable to open image" and then it's showing a filename that is totally messed up.

You can see the result of the batch file here: http://imgur.com/fovWfm1

Hope someone can help
-Thomas
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Montage error when loading files with unicode chars

Post by dlemstra »

What is your ImageMagick version and your operating system?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
thomaass
Posts: 3
Joined: 2014-04-09T05:55:14-07:00
Authentication code: 6789

Re: Montage error when loading files with unicode chars

Post by thomaass »

dlemstra wrote:What is your ImageMagick version and your operating system?
Version is 6.8.7-2 2013-10-18 W16 and operating system is win 7.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Montage error when loading files with unicode chars

Post by dlemstra »

Can you upgrade your version to the latest and try again? We fixed this bug a couple of months ago.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
thomaass
Posts: 3
Joined: 2014-04-09T05:55:14-07:00
Authentication code: 6789

Re: Montage error when loading files with unicode chars

Post by thomaass »

dlemstra wrote:Can you upgrade your version to the latest and try again? We fixed this bug a couple of months ago.
Just tried upgrading, and it works now :) And I'm sorry, i should have tried this first before posting here.
Post Reply