var aBmpPic: TBitmap; aJpgPic: TJPEGImage;begin aBmpPic := TBitmap.Create; aJpgPic := TJPEGImage.Create; aBmpPic.LoadFromFile('c:\1.bmp'); aJpgPic.Assign(aBmpPic); aJpgPic.SaveToFile('c:\2.jpg');end;
...TBMImage.Canvas.Pixels[X, Y]:= ......