resize images
check in RDP blogpost