user1514512
user1514512

Reputation: 29

change HBITMAP resolution for reducing file size

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

Answers (1)

oldmonk
oldmonk

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

Related Questions