Hi,
Is there a way to display a .jpg file by using MFC? or to convert a .jpg file to a bitmap?
Thanks,
Printable View
Hi,
Is there a way to display a .jpg file by using MFC? or to convert a .jpg file to a bitmap?
Thanks,
In CodeGuru's "Bitmap & Palettes" section, there are several "external links" given that contain articles on, among other things, decoding jpegs to bmps. I believe they ultimately rely on Thomas Lane's Independent JPEG Group's jpeg.lib for the encoding/decoding. Be prepared to tinker a bit to get things to work. I myself am in the process of putting together a very simple MFC-based jpeg/bmp encoder/decoder using jpeglib and Wes Roger's "Writing a DIB to a JPEG File" article. If I make any progress anytime soon, I'll give you and update. Good luck!
Hi,
Ever tried Win32SDK LoadImage function?
Hi
can u send me the code for same?
Vishal SHewale
Try OleLoadPicture & search MSDN for the sample "LOADPIC.EXE".
HTH, Jens