CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    151

    GDI Copy screen content

    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

  2. #2
    Join Date
    Jan 2008
    Posts
    48

    Re: GDI Copy screen content

    Quote Originally Posted by Icyculyr
    it seems quite complex..
    No, it's very simple with win32 api.
    see win32 api newsgroup :
    news://comp.os.ms-windows.programmer.win32

  3. #3
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    151

    Re: GDI Copy screen content

    Thanks, but my e-mail won't open that link? I am not sure how I can open it?

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured