Click to See Complete Forum and Search --> : GDI Copy screen content


Icyculyr
February 2nd, 2008, 04:17 AM
I would like to create a jpeg image with only 35% of it's quality..

for example

int desktopWidth = GetSystemMetrics(SM_CXSCREEN);
int desktopHeight = GetSystemMetrics(SM_CYSCREEN);

then create a bitmap of size desktopWidth, desktopHeight (or the size of the screen, excluding toolbars etc..), copy the screen into it, and then reduce the image quality to 35%, and then save that file to my desktop


If anyone could tell me how I would go about this?, it seems quite complex..

Thanks

Laurentis
February 2nd, 2008, 12:33 PM
it seems quite complex..


No, it's very simple with win32 api.
see win32 api newsgroup :
news://comp.os.ms-windows.programmer.win32

Icyculyr
February 2nd, 2008, 06:15 PM
Thanks, but my e-mail won't open that link? I am not sure how I can open it?

Cheers