|
|
@ -516,6 +516,7 @@ int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) |
|
|
|
/** Save compressed picture
|
|
|
|
* |
|
|
|
* https://stackoverflow.com/questions/997175/how-can-i-take-a-screenshot-and-save-it-as-jpeg-on-windows
|
|
|
|
* https://docs.microsoft.com/en-us/windows/desktop/gdiplus/-gdiplus-converting-a-bmp-image-to-a-png-image-use
|
|
|
|
*/ |
|
|
|
void SaveJpeg(HBITMAP hBmp, LPCWSTR lpszFilename, ULONG uQuality) |
|
|
|
{ |
|
|
|