Ezwtain scanning region

Hello
Having downloaded the Eztwainclass from freeimage.com
everything works fine except scanning a given region (example photo)

Thanks