solarfusion 0 Posted November 3, 2011 (edited) Hi, I've just installed the full version of Scite with AutoIt3Wrapper, etc (was using lite version before) and now when I run my script the JPG quality parameter doesn't appear to be getting passed into GDI_Plus (output file is lossy). I can resolve the issue by editing au3.properties and changing the command.go back to the default autoit3.exe. Same problem occurs if I compile with AutoIt3Wrapper, yet aut2exe works fine. Code is: ; Set output image quality $TParam = _GDIPlus_ParamInit(1) $Datas = DllStructCreate("int Quality") DllStructSetData($Datas, "Quality", $quality) _GDIPlus_ParamAdd($TParam, $GDIP_EPGQUALITY, 1, $GDIP_EPTLONG, DllStructGetPtr($Datas)) $Param = DllStructGetPtr($TParam) $clsid = _GDIPlus_EncodersGetCLSID("JPG") ; Save to destination folder _GDIPlus_ImageSaveToFileEx($hImage, $DestFolder & "\" & $ImageFilename, $clsid, $Param) Edited November 3, 2011 by solarfusion Share this post Link to post Share on other sites