Hi!

 

Title: convert failed for filename containing non ASCII characters

Subtitle: ImageMagickObject doesn't support UNICODE filename for image.

 

I would like to report the following problem:

Convert failed opening an image which filename contains NON ASCII characters.

For example filename: "c:\été.jpg" (summer in French) or "c:\שלום.jpg" 
(hello/peace in Hebrew)

 

The code:

 Set img = CreateObject("ImageMagickObject.MagickImage.1")
 ret = img.Convert( "c:\toto.jpg", "-resize", "320x200" ,"c:\toto2.jpg") ' This 
WORKS
 ret = img.Convert( "c:\été.jpg", "-resize", "320x200" ,"c:\été2.jpg")' This 
FAILS !

 

Error returned:

ImageMagickObject.MagickImage.1: convert: 410: missing an image filename ` 
C:\?t?.jpg': 

 

 ret = img.Convert( "c:\שלום.jpg", "-resize", "320x200" ,"c:\שלום2.jpg")' This 
FAILS !

 

Error returned:

ImageMagickObject.MagickImage.1: convert: 435: unable to open image 
`c:\שלום.jpg': No such file or directory: 
convert: 410: missing an image filename `c:\שלום2.jpg': 

 

 

NB the same occurs if the path contains such character (example : 
c:\שלום\img.jpg )

 

OS: windows XP Pro

Installed version : ImageMagick-6.3.7-9-Q8-windows-dll.exe ( ImageMagick 6.3.7 
01/04/08 Q8 for CORE_RL_wand_.dll if it helps ?)

Launching/calling environment : Lotus Notes Domino client with Lostuscript 6.5.4

 

Best regards.

Emmanuel

 

_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to