implemented image resizing, waroping, rotatating