RE: convert failed for filename containing non ASCIIcharacters

"Developer" <[email protected]>
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
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:[email protected]] 
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" <[email protected]>
To: <[email protected]>
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
> [email protected]
> http://studio.imagemagick.org/mailman/listinfo/magick-bugs
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.