Delphi Tips Trick

For Newbie

Iklan Responsive Atas

LightBlog
Responsive Ads Here

Thursday, 3 November 2011

Convert picture file type : jpg picture to bmp picture on delphi

jpg to bmp convert in delphi


this is is the source code to convert jpg picture to bmp picture on delphi




var

bmp:tbitmap;
jpg : Tjpegemage;

begin

bmp:=tbitmap.create
jpg:=jpegimage.create

jpg.loadfromfile(file *.jpg) // choose from folder
bmp.assign(jpg);
end;

No comments: