Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching for RGB images in a Quark doc




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: http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Searching for RGB images in a Quark doc (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.