Any suggestions on how to "onion skinning"?

Wilhelm Sanke sanke at hrz.uni-kassel.de
Mon Dec 3 11:41:46 EST 2007


On Mon Dec 3, 2007 BNig niggemann at uni-wh.de wrote:

> Ken,
>
> if you are on MacOSX system > = 10.4 and you just want the image to be
> grayscale then you can try an applescript for colorsyncscripting.
> it is a lot faster than Revolution. It takes Revolution from "set the
> imagedata of image x to y" for a 640x480 on a MacBook Pro 2.3 about 280
> Milliseconds to display the image. So whatever you do you have this
> overhead.


You did not tell us in your post how fast using "applescript for 
colorsynscripting" actually is?

Concerning the occurring "overhead" you mention when you display the 
changed imagedata from a variable in Revolution, like "set the imagedate 
of img "x" to changeddata",  you have to take into account which 
paintcompression is set. PNG can be up to ten times slower than RLE.

See bug # 5113 "Slower speed of imagedataprocessing with engines >2.6.1 
and PNG compression" with the attached test stack. Curiously, this bug 
is still left as "unconfirmed" although we had a discussion about this 
on the improve list half a year ago.

On my 2 GHz machine to display a 640x480 image from a changed imagedata 
variable takes 50 milliseconds with the paintcompression set to RLE and 
580 when set to PNG.

The Revolution engine defaults to RLE, but the Rev IDE changes that to 
PNG on startup.

For fastest imagedata processing use engine 2.6.1 and the Metacard IDE - 
or set the paintcompression to RLE on openstack.

Regards,

Wilhelm Sanke
<http://www.sanke.org/MetaMedia>




More information about the use-livecode mailing list