Adapted new dvi image format