HuntsvilleRob
Programmer
Hello. I have written code that loads a bitmap file into a Graphics::TBitmap object.
Graphics::TBitmap* MyBitmap = new Graphics::TBitmap();
MyBitmap->LoadFromFile("mypicture.bmp");
I now need to be able to open other image types like tif and jpg and put them into a Graphics::TBitmap object. Can anyone explain how this can be done? I am using Borland C++ Builder 6. As far as I can see, this compiler only has the ability to read bmp files and no other. Thanks for any help.
-Rob
Graphics::TBitmap* MyBitmap = new Graphics::TBitmap();
MyBitmap->LoadFromFile("mypicture.bmp");
I now need to be able to open other image types like tif and jpg and put them into a Graphics::TBitmap object. Can anyone explain how this can be done? I am using Borland C++ Builder 6. As far as I can see, this compiler only has the ability to read bmp files and no other. Thanks for any help.
-Rob