Re: Quark conflicting properties
Re: Quark conflicting properties
- Subject: Re: Quark conflicting properties
- From: Bill Metzinger <email@hidden>
- Date: Mon, 15 Dec 2003 09:20:21 -0500
On Dec 14, 2003, at 11:50 PM, Shane Stanley wrote:
the bounds values for an image vary depend on the resolution, and it's
not a straight-forward ratio.
I have found that it is.
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?
Hmmm. You always have to break the rules.
The file format of the picture affects the math, so does your version
of Quark.
For my tests, Quark's measurements are set to points and the res of the
doc is 72.
In version 4 the bounds of image 1 for eps and pict are based on 72
In version 4 the bounds of image 1 for jpg and tiff are based on 75
In version 6 the bounds of image 1 for all 4 of those formats are based
on 72
The pixel dimensions of my 300dpi test image is {0,0,2160,1439}
eps and pict return {0,0,518,345}
jpg and tiff return {0,0,540,360} in QX4
jpg and tiff return {0,0,518,345} in QX6
300/75 = 4 = 2160/540
300/72 = 4.167 = 2160/518
} He is not pining, he's passed on...
_______________________________________________
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.