Re: Bug in Image Events (?)
Re: Bug in Image Events (?)
- Subject: Re: Bug in Image Events (?)
- From: julifos <email@hidden>
- Date: Sun, 11 Jan 2004 11:42:39 +0100
Nope... As I stated, it works with different paths (without accented chars).
And, anyway, it should work "sips", which doesn't either.
jj
* I forgot the mangle! Where it says "DON INE", it is really "DON
E-acuteNE".
>
Just a guess, but maybe if you asked Image events to open a file rather than
>
a string you might have more luck...?
>
>
> set bigImage to "path:to:DON INE:big:img.jpg"
>
...
>
> set imgRef to open bigImage
>
>
>
Try "set imgRef to open file bigImage" instead.
>
>
Andrew
>
:)
>
>
On 1/10/04 3:30 AM, "julifos" <email@hidden> wrote:
>
>
> Hi!
>
>
>
> Seems that Image Events (and "sips") doesn't handle paths with accented
>
> characters.
>
>
>
> This code doesn't throw errors, nor thumbnails!
>
>
>
> #################################
>
> set bigImage to "path:to:DON INE:big:img.jpg"
>
> set thumbImage to "path:to:DON INE:thumbs:img.jpg"
>
> set max to 80
>
>
>
> --> test sips
>
> do shell script "sips -Z " & max & space & quoted form of POSIX path of
>
> bigImage & " --out " & quoted form of POSIX path of thumbImage
>
>
>
> --> test IE
>
> tell application "Image Events"
>
> launch
>
> set imgRef to open bigImage
>
> scale imgRef to size max
>
> save imgRef in thumbImage
>
> close imgRef
>
> end tell
>
> #################################
>
>
>
> I've checked this code with other paths (withouth accented stuff) and it
>
> works fine.
>
>
>
> jj
>
>
>
> * BTW, do you know how can I file a bug to Apple's AppleScript Team, other
>
> than posting it here?
>
> _______________________________________________
>
> applescript-users mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/applescript-users
>
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.