|
-
May 19th, 1999, 10:54 AM
#1
display a .jpg file with MFC ?
Hi,
Is there a way to display a .jpg file by using MFC? or to convert a .jpg file to a bitmap?
Thanks,
-
May 19th, 1999, 12:45 PM
#2
Re: display a .jpg file with MFC ?
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!
-
May 19th, 1999, 04:05 PM
#3
Re: display a .jpg file with MFC ?
Hi,
Ever tried Win32SDK LoadImage function?
-
January 24th, 2001, 02:14 AM
#4
Re: display a .jpg file with MFC ?
Hi
can u send me the code for same?
Vishal SHewale
-
January 25th, 2001, 07:07 AM
#5
Re: display a .jpg file with MFC ?
Try OleLoadPicture & search MSDN for the sample "LOADPIC.EXE".
HTH, Jens
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|