Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TBitmap to TJpegImage exception

6 views
Skip to first unread message

Maxwell

unread,
Oct 29, 2008, 1:12:29 PM10/29/08
to
Hi,

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

0 new messages