removing print in resizing image