[PATCH v2] image-fit: don't set compression if it can't be read