index 1402b13328d1469f0033c5112bc7aced072c49cb..f3b3fade582900933aa608f587fe3c23e9479b12 100644 (file)
ii: PByte;
Width,
Height: Integer;
- ColorDepth: Integer;
- ImageSize: Integer;
- i, x, y: Integer;
+ x, y: Integer;
BitMap: TBitMap;
begin
Width := img.width;
Height := img.height;
- ColorDepth := 24;
- ImageSize := Width*Height*(ColorDepth div 8);
BitMap := TBitMap.Create();
BitMap.PixelFormat := pf24bit;