jpg support
-
Does anyone know if visual c++ 6 MFC will let me insert jpg files. I have found in the properties box of a picture object Bitmap, Icon, etc. I tried importing a jpg, but did not seem to work. Regards Paul
What do you want to do with the jpg ? GDI+ will allow you to read and write JPGs, as well as draw to them/draw them to a Graphics object ( which you can build from a HDC ) Christian Graus - Microsoft MVP - C++
-
What do you want to do with the jpg ? GDI+ will allow you to read and write JPGs, as well as draw to them/draw them to a Graphics object ( which you can build from a HDC ) Christian Graus - Microsoft MVP - C++
And if you do not want to have to distribute the GDI+ library (1661 KB) you can use the IPicture interface to read and display jpgs. Although I do not think IPicture can be used to save jpgs.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004
-
Does anyone know if visual c++ 6 MFC will let me insert jpg files. I have found in the properties box of a picture object Bitmap, Icon, etc. I tried importing a jpg, but did not seem to work. Regards Paul
this MS Sample Will help you Loading Jpeg,Gif and other popular format with ease! http://support.microsoft.com/support/kb/articles/Q218/9/72.ASP[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
-
this MS Sample Will help you Loading Jpeg,Gif and other popular format with ease! http://support.microsoft.com/support/kb/articles/Q218/9/72.ASP[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta