I have compile my code Rad Studio 2007 C++, but
my function to convert a bitmap to jpeg is falling.
I use jpgimage.assign( bitmap ) and after I do jpgimage.savetofile,
but in assign method the exception
"TJPEGImage to TBitMap Exception" happend.
Why CodGear C++ Rad Studio 2007 give this error?
Please, How I can convert a bitmap to jpeg now?
Maxwell