Re: Searching for RGB images in a Quark doc
Re: Searching for RGB images in a Quark doc
- Subject: Re: Searching for RGB images in a Quark doc
- From: Peter Waibel <email@hidden>
- Date: Fri, 23 Jun 2006 11:55:02 +0200
No where does it tell me that the image is CMYK. Picture Usage
shows it as a CMYK TIFF.
XPress knows the image type but won't tell you via applescript!
(I would be happy if someone could tell me that I'am wrong!)
Gary pointed in the right direction.
You have to use "Image Events"
Try something like this:
tell application "QuarkXPress Passport"
tell document 1
set imgAlias to file path of image 1
end tell
end tell
tell application "Image Events"
launch
set img to open imgAlias
set imgType to color space of img
close img
end tell
return imgType
Unfortunately Image Event has to open every image
so it won't be very fast!
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden