Thanks for your response, Jakob.

I'm using 8 bit, drawing into an unattached image object, using integers as
color values, setting the image to something visible if the frame is fully
completed.
I've ran this thing through c++ and it does an image in 0.3 secs - on my PII
266 - where director needs almost 2 minutes per frame.

Is lingo really that slow - or is it the speed difference between CBrush and
setPixel that makes the major difference??

If anyone has other optimisation tips please tell me.

TIA

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Jakob Hede Madsen
Sent: Tuesday, July 03, 2001 12:53 PM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> a faster way to draw than using setpixel ??


At 10:24 +0200 2001_07_03, Chris Aernoudt wrote:

>Is there a faster way to plot an image than using setpixel??

Not that I know of, but remember to draw to an unattached imageObject
rather than directly into a member or the image of a member. Also you
might get speed increases by using an 8 bit bufferImage, or using
intergers to setPixel, rather than colorObjects "setPixel(x, y,
intColor, #integer)"

Jakob


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to