-
March 1st, 2009, 12:00 PM
#1
Screenshot. Save as PNG.
Hello, I'm looking for a way to take a screenshot and save it as a PNG.
I came across this, for saving the image to a BMP:
http://69.10.233.10/KB/cpp/Screen_Capture__Win32_.aspx
But can find no examples or documentation of how I would save as a PNG instead.
I'm fairly competent with the Win32 API and C++ in general, but this is the first time I've ever had to do something like this (I normally do very low-levl stuff) so I'm at a loss of where to look for the API (I searched MSDN but couldn't find anything, I'm probably overlooking something though).
If someone could give me a nudge in the right direction I'd greatly appreciate it.
Thanks.
-
March 1st, 2009, 04:40 PM
#2
Re: Screenshot. Save as PNG.
Nevermind. This seems to be the answer to my problem:
http://msdn.microsoft.com/en-us/libr...8VS.80%29.aspx
Finally dug deep enough in MSDN.
-
March 2nd, 2009, 03:09 PM
#3
Re: Screenshot. Save as PNG.
You don't need CImage/ ATL
PNG is native in Win32.
-
March 3rd, 2009, 02:41 PM
#4
Re: Screenshot. Save as PNG.
Originally Posted by carl666
You don't need CImage/ ATL
PNG is native in Win32.
What do you mean by that?
Could you please point me to a native Win32 API that work with PNG images?
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
-
March 4th, 2009, 04:58 AM
#5
Re: Screenshot. Save as PNG.
Originally Posted by VladimirF
What do you mean by that?
Could you please point me to a native Win32 API that work with PNG images?
I was gonna ask the same thing.
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
|