#38 merge resize and resize_lite in Nansat