I would like to build a pre-commit hook for my blog that warns me of I commit any images which use an inefficient codec. Does your tool also provide a function like this? ``` def get_codec(file path) -> str: .... ```
I would like to build a pre-commit hook for my blog that warns me of I commit any images which use an inefficient codec.
Does your tool also provide a function like this?