montage tile reproducable bug with non English char

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
feelart
Posts: 16
Joined: 2013-07-09T08:08:24-07:00
Authentication code: 6789

montage tile reproducable bug with non English char

Post by feelart »

OS: Win7 64bits
ImageMagick 6.8.6-7 2013-07-23 Q16

Hello,

Each time I batch process with non English characters in the file name, the montage fails

eCli Example:

Code: Select all

montage -mode concatenate -tile 3x2 *.jpg -resize 900x +adjoin _3Cols_2Rows%02d.jpg
Output error example:
montage.exe: unable to open image `29 hall d'entrée.jpg': No such file or directory @ error/blob.c/OpenBlob/2643.
montage.exe: unable to open image `30 hall d'entrée.jpg': No such file or directory @ error/blob.c/OpenBlob/2643.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: montage tile reproducable bug with non English char

Post by dlemstra »

This has been fixed in ImageMagick 6.8.7-6 but I would advise you to upgrade to the latest version of ImageMagick.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
maxerist
Posts: 2
Joined: 2014-02-27T02:58:49-07:00
Authentication code: 6789

Re: montage tile reproducable bug with non English char

Post by maxerist »

dlemstra wrote:This has been fixed in ImageMagick 6.8.7-6 but I would advise you to upgrade to the latest version of ImageMagick.
Don't know whether it is related or not, but ImageMagick-6.8.8-Q8 does the same if the path to the current folder contains non-english characters.
convert.exe: unable to open image `Sh*': Invalid argument @ error/blob.c/OpenBlob/2642.
convert.exe: no decode delegate for this image format `Sh*' @ error/constitute.c/ReadImage/555.
convert.exe: no images defined `Sh.pdf' @ error/convert.c/ConvertImageCommand/3147.
The same bat file and files copied to the folder not containing non-english characters in the current path correctly works
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: montage tile reproducable bug with non English char

Post by dlemstra »

I cannot reproduce your issue. Can you post the batch file you are using and the name of your directory?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
maxerist
Posts: 2
Joined: 2014-02-27T02:58:49-07:00
Authentication code: 6789

Re: montage tile reproducable bug with non English char

Post by maxerist »

dlemstra wrote:I cannot reproduce your issue. Can you post the batch file you are using and the name of your directory?
Sorry for the delay

The batch file contents
"C:\Program Files (x86)\ImageMagick-6.8.8-Q8\convert.exe" -compress jpeg -quality 50 "Dost*" "Dest.pdf"

conv.bat is placed in the
C:\Temp\2014_02_14\Русский
and the source images are also there (Dost* are multiply png files)

The output
convert.exe: unable to open image `Dost*': Invalid argument @ error/blob.c/OpenBlob/2642.
convert.exe: no decode delegate for this image format `Dost*' @ error/constitute.c/ReadImage/555.
convert.exe: no images defined `Dest.pdf' @ error/convert.c/ConvertImageCommand/3147.

UDPATE: the Windows is Russian and default codepage for non-unicode programs is Win-1251
Post Reply