support more input image formats