Re: Quark conflicting properties
Re: Quark conflicting properties
- Subject: Re: Quark conflicting properties
- From: Shane Stanley <email@hidden>
- Date: Sat, 13 Dec 2003 17:20:04 +1100
On Dec 13, 2003, at 12:30 PM, Gary Lists wrote:
On or about 12-12-03 5:01 PM, Shane Stanley wrote:
On Dec 13, 2003, at 2:53 AM, Bill Metzinger wrote:
What do you have against image bounds?
It's nothing personal; they just return different values depending on
the resolution of the image. Makes them pretty useless for most
things.
--
Shane
But of course they would. An image saved at 72dpi and the same image
at
1200dpi will have different bounding sizes.
Perhaps they are not useful to you directly as returned, but then it
would
be up to you do some math to find what I think you must mean -- "the
displayed dimensions" of the image -- accounting for resolution.
Take an image I have here, 325 pixels by 500 pixels, saved at both
72dpi and 200dpi. In the first case, bounds returns {0, 0, 325, 500}.
Ignore for the moment that Quark won't tell me what the resolution is
to do the calculations of which you speak, and explain why the 200dpi
image returns bounds of {0, 0, 108, 166}. What do these numbers
actually reflect?
--
Shane Stanley <email@hidden>
_______________________________________________
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.