cyxstudio Posted January 28, 2018 Posted January 28, 2018 Is it possible to print screen a small part of the desktop, resize it bigger while still maintaining its resolution (without blurring)? i tried doing that but it always results in a blur image.
HankHell Posted January 28, 2018 Posted January 28, 2018 it is possible, but have you considered using https://www.vectorizer.io/ I know this doesn't solve the problem of coding it, just thought it might help
UEZ Posted January 28, 2018 Posted January 28, 2018 Something like this here?: #include <ScreenCapture.au3> _GDIPlus_Startup() $hGDIBitmap = _ScreenCapture_Capture("", 0, 0, 99, 99) $hGDIpBitmap = _GDIPlus_BitmapCreateFromHBITMAP($hGDIBitmap) $hGDIpBitmap_scaled = _GDIPlus_ImageScale($hGDIpBitmap, 8.0 , 8.0, $GDIP_INTERPOLATIONMODE_NEARESTNEIGHBOR) $aDim = _GDIPlus_ImageGetDimension($hGDIpBitmap_scaled) $hGUI = GUICreate("Test", $aDim[0], $aDim[1]) GUISetState() $hCanvas = _GDIPlus_GraphicsCreateFromHWND($hGUI) _GDIPlus_GraphicsDrawImageRect($hCanvas, $hGDIpBitmap_scaled, 0, 0, $aDim[0], $aDim[1]) Do Until GUIGetMsg() = -3 _GDIPlus_ImageDispose($hGDIpBitmap_scaled) _GDIPlus_ImageDispose($hGDIpBitmap) _WinAPI_DeleteObject($hGDIBitmap) _GDIPlus_GraphicsDispose($hCanvas) _GDIPlus_Shutdown() Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now