|
-
November 23rd, 2009, 01:43 AM
#1
Displaying PNG image on window
Dear All,
I have created a window with createwindow() api using vs2005 in c++ on windows Vista
My requirement is to draw png image on that window.
I tried using the LoadImage() but it takes only, .bmp,.ico,.cur files as input.
I am not using any MFC in this application
Please help me with some code snippet
with regards
Vinayaka Karjigi
-
November 23rd, 2009, 06:36 AM
#2
Re: Displaying PNG image on window
Try GDI+
Too busy to be bothered with a code snippet but look at these
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
And for loading and displaying an image [http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx shouldn't be to hard to display a png instead of a jpg. And yes it supports PNG (as well as a heap of other formats)
Tags for this Thread
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
|