image compress

Rick Rice rice at cariboo.bc.ca
Mon Mar 21 19:35:06 EST 2005


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 anyone see where I'm going wrong?
	Thanks
	Rick



More information about the metacard mailing list