How can I take a screenshot and save it as JPEG on Windows?

前端 未结 11 1791
暖寄归人
暖寄归人 2020-12-02 15:11

I\'m trying to find a (somewhat) easy way to take a screenshot on window and save the resulting HBITMAP as a JPEG. The tricky part here is that since the code is in C I can\

11条回答
  •  暖寄归人
    2020-12-02 15:51

    libjpeg is free, open source, coded in C. You can copy their code into yours.

    http://sourceforge.net/project/showfiles.php?group_id=159521

提交回复
热议问题