I'm trying to process a bitmap (extract red, green, blue channels) using raw machine code but I encounter a problem. The image looks different as would be applied a zoom effect. Here is my code: #include <GDIPlus.au3> $sPath = FileOpenDialog("Open",@ScriptDir,"Images (*.bmp;*.png;*.jpeg;*.jpg)",1) If Not @error Then GetChannel($sPath,@ScriptDir & "red.bmp",0) GetChannel($sPath,@ScriptDir & "green.bmp",1) GetChannel($sPath,@ScriptDir & "blue.bmp",2) EndIf Func GetChannel