bmp to jpg lazarus / 39-Graphics ---------------------------------------------------------------------- xinyiman · 2012-07-23 13:47 how convert bmp image to jpg image? ---------------------------------------------------------------------- KpjComp · 2012-07-23 14:06 Something like -> Code: [Select]uses LazJPG; procedure TForm1.Button1Click(Sender: TObject); var   j:TJPEGImage; begin   j := TJPEGImage.Create;   try     j.Assign(image1.picture.Bitmap);     j.CompressionQuality:=90;     j.savetofile('test.jpg');   finally     j.free;   end; end; You will need to make sure you have ImagesForLazarus as part of your project dependancy. ---------------------------------------------------------------------- xinyiman · 2012-07-23 14:09 Thank you