下面的代码是把图像画到image的canvas上,你可以改成别的canvas
var
bmp: TBitmap;
X,Y,W,H:LongInt;
begin
bmp:=TBitmap.Create;
try
bmp.LoadFromFile('D:/21.bmp');
with bmp do
begin
W:=Width;
H:=Height;
end;
Y:=0;
while Y<Height do
begin
X := 0;
while X<Width do
begin
image1.Canvas.Draw(x, y, bmp);
Inc(X, W);
end;
Inc(Y, H);
end;
finally
bmp.Free;
end;
end;