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
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to