[Lazarus] Recent Graphics changes...
wile64
wile64 at gmail.com
Thu Jul 3 14:02:31 CEST 2008
Hi,
I turn quickly,
I load images like this, (size 8192x8192)
var
BmpMap: TBitmap;
Image1: TImage;
Begin
BmpMap.Width: = Map.width * Tiles.Width;
BmpMap.Height: = Map.height * Tiles.Height;
MapImage: = BmpMap.CreateIntfImage;
/ / ... image processing
BmpMap.LoadFromIntfImage (MapImage);
Image1.Picture.Bitmap.Assign (BmpMap);
end;
1) Since the last change LoadFromIntfImage takes +/- 11 seconds, before 1
second.
2) The TImage is in a ScrollBox, the image disappears (1seconde) when I
scroll.
Is this a problem or should be done differently now?
Thanks,
--
Laurent.
"If debugging is the art of removing bugs, then programming must be the art
of creating!"
My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20080703/5aec61a4/attachment-0004.html>
More information about the Lazarus
mailing list