added alpha channel support to rotate/scale methods