jbpelletier
Programmer
hi
im loading a bmp fileinto a tbitmap then i do some canvas manipulation like this :
//filename is 'file1.bmp';
my_bitmap:=Tbitmap.create;
my_bitmap.LoadFromFile(filename);
//canvas manipulation
my_bitmap.free;
i would like to be able to do the canvas manipulation
either if the file is a jpg or a bmp.
any idea on how i could load the jpg as a bitmap? or easily convert it to bmp.
tanx
jb
im loading a bmp fileinto a tbitmap then i do some canvas manipulation like this :
//filename is 'file1.bmp';
my_bitmap:=Tbitmap.create;
my_bitmap.LoadFromFile(filename);
//canvas manipulation
my_bitmap.free;
i would like to be able to do the canvas manipulation
either if the file is a jpg or a bmp.
any idea on how i could load the jpg as a bitmap? or easily convert it to bmp.
tanx
jb