Loading JPEG or PNG images...
-
Hi ! MSDN states that: <> But how can I load a JPEG or PNG image ? Can I do it without using COM ?
The very best way IMHO is to use GDI+. Regards, BB
-
Hi ! MSDN states that: <> But how can I load a JPEG or PNG image ? Can I do it without using COM ?
-
If you are using VC++7 (MFC) you can use the new MFC class CImage. It allows you to load and manipulate JPG, PNG, GIF, BMP formats. Very simple. Art
I'm not using MFC at all. I only searched through the documentation on StretchDIBits and other bitmap API functions which reads: Windows 98/Me, Windows 2000/XP: StretchDIBits has been extended to allow a JPEG or PNG image to be passed as the source image. So I was wondering how to pass a JPEG pr PNG image to this function, maybe I can read from the disk ???? :omg:
-
I'm not using MFC at all. I only searched through the documentation on StretchDIBits and other bitmap API functions which reads: Windows 98/Me, Windows 2000/XP: StretchDIBits has been extended to allow a JPEG or PNG image to be passed as the source image. So I was wondering how to pass a JPEG pr PNG image to this function, maybe I can read from the disk ???? :omg: