first version image resizing, waroping, rotatating