image compress
Ken Ray
kray at sonsothunder.com
Mon Mar 21 21:56:23 EST 2005
On 3/21/05 9:35 PM, "Rick Rice" <rice at cariboo.bc.ca> wrote:
> I've been trying to compress images
> When I use the following to compress I do get a file.
>
> on mouseUp
> answer file "image to compress:"
> if it is empty then exit mouseup
> put it into timage
> put compress(timage) into URL "binfile:/CSMLS Moncton/DATA/AREA"
> end mouseUp
>
> But when I decompress with the following, the display (card image 2) is
> blank.
>
> put url ("binfile:" & tPath) into encryptedImage
> put decompress(encryptedImage) into pictData
> put pictData into card image 2 of cd "display"
Can you try:
set the imageData of image 2 of cd "display" to pictData
??
Don't know if that would help, but it's worth a shot...
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the metacard
mailing list