Bezier curves
Jim Hurley
jhurley at infostations.com
Thu May 6 07:11:08 EDT 2004
>
>Message: 9
>Date: Sat, 1 May 2004 21:26:26 -0700 (PDT)
>From: Alejandro Tejada <capellan2000 at yahoo.com>
>Subject: Re: Bezier curves
>To: use-revolution at lists.runrev.com
>Message-ID: <20040502042626.88269.qmail at web40504.mail.yahoo.com>
>Content-Type: text/plain; charset=us-ascii
>
>
>
>[snip]
>
>
>The size of the uncompressed stack is huge!... Why?
Alejandro,
I remain puzzled about the file size. A single bezier line--two end
points only--is about 50 K! A bezier line with 10 segments is 500 K.
I wish there were some way in RR to determine the contribution to the
file size from each component, each control.
As a work-around, to reduce the size, I have added a button to the
bezier plug-in which converts any bezier curve to a simple line
graphic. It takes each of the bezier line groups and concatenates
their graphic points to form a single graphic line and deletes all
the controls and their scripts.
The size of a stack with a single bezier line drops from 50 K to 4 K.
This is something one could do after the bezier controls have done
their job and you are satisfied with the shape.
I have posted a compact version of the plug-in; it is 80 K.
Jim
http://home.infostations.net/jhurley/
More information about the use-livecode
mailing list