clipboardData & PNG & JPG

sims sims at ezpzapps.com
Wed Jul 2 14:27:09 EDT 2003


>My understanding is that RunRev uses PNG internally for all images, 
>so if the image is actually imported there is nothing you can do.
>
>Now, what you *can* do, is write something that, when you paste a 
>graphic into a stack, exports the graphic to an images folder as a 
>jpeg, then assigns the image object on the card the filename of the 
>external file. In some situations this can save you lots of spce - 
>though you then have to deal with other issues of course.

Good idea if pasting into a stack, but I want to paste it into other apps
such as an Eudora email, Word, etc. A 100k JPG can balloon to 400k PNG
when pasted from the clipboard into an email message...such an increase
is dramatic, especially if using a dial-up.

Thanks for the suggestion though...

I can set the fileType to JPG  - write to a file - perhaps I can dig 
up an applescript
which will then put that JPG onto the clipboard and then I delete JPG 
file I made...
a bit complicated though.

sims
-- 
-----------------------------------------------------------
    http://EZPZapps.com         info at EZPZapps.com
       Software - Internet Development - Consulting



More information about the use-livecode mailing list