image compress

Rick Rice rice at cariboo.bc.ca
Mon Mar 21 22:45:56 EST 2005


Brian:
	Thanks a bunch.
	That is what I was doing, at least it must have been seeing as your 
suggestion fixed the empty image.
	Rick
On Mar 21, 2005, at 9:24 PM, Brian Yennie wrote:

> Rick,
>
>> on mouseUp
>>   answer file "image to compress:"
>>   if it is empty then exit mouseup
>>   put it into timage
>
> Looks like you're just saving the file _path_ here.
> Change this:
>
> put it into timage
>
> TO
>
> put url ("binfile:"&it) into timage
>
>>   put compress(timage) into URL "binfile:/CSMLS Moncton/DATA/AREA"
>> end mouseUp
>
> Keep in mind that a lot of image formats are already compressed, and 
> zip compression is much better suited for text than binary... so you 
> may want to keep an eye on how much you're actually saving. It won't 
> hurt, but worth checking out...
>
> HTH,
>
> Brian
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard



More information about the metacard mailing list