[Lazarus] Fastest way to show an image buffer

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Nov 5 22:50:25 CET 2010


On Fri, Nov 5, 2010 at 9:01 PM, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> Hi, I'm using this routine to show an image buffer in a TImage, but it
> is not fast enough for my needs.

Use a TCustomControl descendent to paint the image and use
TLazIntfImage as the image buffer.

TCDGroupBox is a good example which can be seen here:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/customdrawn/customdrawnextras.pas?view=markup&root=lazarus

Also search the wiki for the two classes mentioned.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list