This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# Minimal script to check whether a JPEG-XL file contains JPEG | |
# lossless reconstruction data, in a more robust way than | |
# grepping the output of jxlinfo. | |
# | |
# This parses the ISO BMFF structure directly, so has no dependencies. | |
# | |
# Usage: |