[FIX] resize_image: auto convert BMP images to PNG