Reputation: 29
i create screenshot of desktop as bitmap file.
What is best method to reduce the resolution of this large image file (~3 MB) in win32 C?
I want to send it over the network, so the file should be smaller.
Upvotes: 1
Views: 1071
Reputation: 739
use StretchBlt to resize the bitmap or use gdi+ api to convert bitmap to jpeg. please take a look at http://www.daniweb.com/software-development/cpp/threads/327090/how-to-convert-screenshotbmp-to-jpeg#.
Upvotes: 3