support image conversion for windows