added Image.resize_half