Can now crop and resize image.