Resize unknown image.