Fix input redirection
Made normal and rasterized images look more consisntent.