Preliminary versions of Bimage scale and rotate functions