Re: Setting Pixels - More answers to suggestions

2003-01-30 Thread Sarah
Hi Robert, Yes, an XCMD is like a DLL only for Macs. It means external command (there are also XFCNs - external functions). I have a script that converts RGB <-> HSV if you are interested. As Monte and others have shown, scripting in different ways can dramatically alter the speed of execution

RE: Setting Pixels - More answers to suggestions

2003-01-30 Thread Monte Goulding
Hi All I never read the original problem but I just made a custom paint tool with this: -- button script on mouseUp InitialiseImageData InitialisePaintColor end mouseUp -- card script local lImageData,lPaintColor,lMouseDown on InitialiseImageData put the imageData of image 1 into lImag

RE: Setting Pixels - More answers to suggestions

2003-01-29 Thread Monte Goulding
> > I think you can speed this up just a litle bit on the > first run by changing: > if tData = "" then > put char 1601 to -1 of the imageData of image 1 \ >into tData > end if > This ought to be slightly faster as the engine doesn't > have to resize the tData variable again, nor p