Image Events
Image Events
- Subject: Image Events
- From: Ben Waldie <email@hidden>
- Date: Thu, 30 Oct 2003 16:32:44 -0500
I have been playing around with "Image Events" in Panther, and there
are some things I can't get to work quite right. Is anyone else
getting these things to work properly, or is it just me?
1) Scaling by Percentage - I can scale images to a specific size. I.e.,
tell app "Image Events" to scale image 1 to size 100
However, when I do it to a percentage, it doesn't seem to do anything.
I.e.,
tell app "Image Events" to scale image 1 by factor .5
2) Getting Image Info - I am getting missing or empty data for image
information, such as resolution, dimensions, etc. I.e.,
tell app "Image Events" to return properties of image 1
--> {bit depth:missing value, file type:missing value, image file:file
"Macintosh HD:Users:Username:Desktop:my image.jpg" of application
"Image Events", location:folder "Macintosh HD:Users:Username:Desktop:"
of application "Image Events", resolution:{}, class:image,
dimensions:{}, name:"my image.jpg", color space:missing value}
-Ben
Benjamin S. Waldie
President & CEO
Automated Workflows, LLC
484.744.1831
=============================================
AppleScript and Workflow Automation
Consulting - <
http://www.automatedworkflows.com>
AppleScript Info - <
http://www.applescriptguru.com>
AppleScript Training - <
http://www.applescripttraining.com>
=============================================
_______________________________________________
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.