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: misleading Quark picture box



On Wed, 26 Nov 2003, Michael Slomski wrote:

>I've checked it just again. With a pasted picture Quark 6 will say:
>"no disk file"
>
>So it will work with Quark 6 an I hoped, that this will also be true for
>Quark 4. Just try it.

I've tried it. But it doesn't work. The file path 'no disk file'
for pasted PICTs has been introduced with QXP 5.

With QXP 4.x the result is 'null' in both cases: when the box is
empty and when it contains a pasted PICT. So you must make sure,
either by asking for the 'bounds' or for 'data size' as has been
suggested by Ian King.

Asking for the bounds is twice as fast as getting the data size.

But -- with QXP 4.x -- the latter is more reliable because there
is one exception: if the size of the image is 1 by 1 pixel and
if it is not an EPS and if the resolution is not a multiple
of 72 (i.e. other than 72, 144, 216, 288 ...) then the result
of 'bounds of image 1' will be {0, 0, 0, 0}.

Regards,
Hans

---
Hans Haesler <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.

References: 
 >Re: misleading Quark picture box (From: Hans Haesler <email@hidden>)
 >Re: misleading Quark picture box (From: Michael Slomski <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.