[Magick-bugs] convert failed for filename containing non ASCIIcharacters

Developer Developer at golfco.co.il
Sun Jan 27 07:05:42 PST 2008


Hello / Bonjour !
First: thanks a lot for your so rapid answer and for the quality of this component!

The problem is PARTIALLY resolved BUT, I would like to report the following problem:
Set img = CreateObject("ImageMagickObject.MagickImage.1")
ret = img.Convert( "c:\toto.jpg", "-resize", "320x200" ,"c:\toto2.jpg") = > works
ret = img.Convert( "c:\שלום טסט.jpg", "-resize", "320x200" ,"c:\Shalom 2.jpg") =>works (new fix)
ret = img.Convert( "c:\שלום טסט.jpg", "-resize", "320x200" ,"c:\שלום2.jpg") => partially works:
The resulting file is "c:\ùìåí2.jpg", seems that encoding is not kept...

ret = img.Convert( "c:\été.jpg", "-resize", "320x200" ,"c:\ete_without_accent.jpg")
Error returned:
ImageMagickObject.MagickImage.1: convert: 410: missing an image filename `c:\ete_without_accent.jpg': 

ret = img.Convert( "c:\été.jpg", "-resize", "320x200" ,"c:\été2.jpg")
ImageMagickObject.MagickImage.1: convert: 410: missing an image filename `c:\?t?2.jpg': 

Installed version: ImageMagick-6.3.8-1-Q8-windows-dll.exe

Fixed: Hebrew in path
------ 
Best regards
Emmanuel Gleizer 
Domingo Advanced Technologies Ltd. for Golf&Co

-----Original Message-----
From: Logipole [mailto:jpiquemal at logipole.com] 
Sent: Sunday, January 27, 2008 12:43 PM
To: Developer
Subject: Re: [Magick-bugs] convert failed for filename containing non ASCIIcharacters

Hello
Install the most recent beta, it has been fixed yesterday.
(it comes from utility.c)
Best regards
Jean Piquemal
http://www.konvertor.net
http://www.logipole.com
----- Original Message -----
From: "Developer" <Developer at golfco.co.il>
To: <magick-bugs at imagemagick.org>
Sent: Sunday, January 27, 2008 10:11 AM
Subject: [Magick-bugs] convert failed for filename containing non ASCIIcharacters


> 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
> Magick-bugs at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-bugs
>




More information about the Magick-bugs mailing list