On Thursday 25 August 2005 12:16, Mattias Gaertner wrote:
[..]
>
> Filename: big.bmp
> File size : 168.750.054
> real 0m18.600s
> user 0m11.521s
> sys 0m1.611s
>
> Code:
> bmp:=TBitmap.Create;
> bmp.LoadFromFile('big.bmp');
> bmp.Free;
This is copied from the WIndows version
If OpenDialog1.Execute then
begin
Image1.Picture.LoadFromFile(OpenDialog1.Filename);
{ ResetArray(1); }
{ ResetData; }
end;
>
> Are you sure, that you have enough memory?
2Gb internal, 5Gb swap. That should be sufficient I assume
> The bmp reader copies the image in memory, so it needs multiple times the
> size of the stream.
>
>
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives