Generate intermediate tif image when encoding JP2.