image_size
image_size copied to clipboard
Get image width and height given a file path using minimal dependencies (no need for PIL, libjpeg, libpng, etc)
From the spec, this only covers the most common format for AVIF images. I can't do more because the alternatives are speced behind a paywall. AVIF: https://aomediacodec.github.io/av1-avif/v1.1.0.html Points to HEIF:...
I tried these changes myself and seems to work I'd rather if the unittest tests were in a separate file (I'm running a reduced variant of python) but I understand...
I'm using this code in a project and while running the linter with type checking enabled (Pylint) I found what look like an error in the decoding of the image...
Could you include webp support? Thank you!
For some images (mainly the ones taken with a phone) the library inverts height and width dimensions. For the attached image (which is a landscape image of a document) -...
This project looks really awesome, I would like to use this in another project and it would be great if you could push a version to PyPI. Thanks!
would be great having a Nautilus/Caja script - how can it be made