summaryrefslogtreecommitdiff
path: root/libmat2/images.py (follow)
AgeCommit message (Collapse)Author
2025-03-18Add webp supportVincent Deffontaines
2024-07-18Keep orientation metadatamatiargs
2023-05-03Use proper type annotations instead of commentsjvoisin
2023-01-28Fix the type annotationsjvoisin
2023-01-14imghdr is deprecatedjvoisin
2022-08-28Simplify the typing annotationsjvoisin
2022-05-15Add support for HEIC filesjvoisin
Thanks to Maxime Morin ( https://www.maijin.fr/ ) for the patch.
2022-03-16Try to use modern rsvg functions when we canjvoisin
2021-12-13Increase a bit the robustness of mat2jvoisin
Those issues were found via https://github.com/google/atheris
2021-06-21Make cairo behave in a less idiotic wayjvoisin
Because raising errors when unable to process stuff instead of an exception is dumb.
2020-11-12Don't set a default value when retrieving Xmlns key for SVG metadataRomain Vigier
2019-12-16Handle tiff images with a .tif extensionjvoisin
2019-12-15Improve the reliability of Gdk-based parsersjvoisin
2019-12-15Improve the reliability of PNG parsingjvoisin
2019-09-01Add support for ppmjvoisin
2019-07-22Add a test for svg namespacejvoisin
2019-07-13Add support for svgjvoisin
2019-03-05Refactor {black,white}list into {block,allow}listBrolf
Closes #96
2019-02-03Implement .gif supportjvoisin
2018-10-24Implement lightweight cleaning for jpgjvoisin
2018-10-23Implement lightweight cleaning for png and tiffjvoisin
2018-10-22Implement support for .avi files, via ffmpegjvoisin
- This commit introduces optional dependencies (namely ffmpeg): mat2 will spit a warning when trying to process an .avi file if ffmpeg isn't installed. - Since metadata are obtained via exiftool, this commit also refactors a bit our exfitool wrapper.
2018-10-12Bump mypy typing coveragejvoisin
2018-09-12Bump coverage back to 100%jvoisin
2018-09-09Improve the resilience of MAT2 wrt. corrupted PNGjvoisin
2018-09-01Add archlinux to the CIjvoisin
2018-08-23libmat2: images: fix handling of .JPG filesAntoine Tenart
Pixbuf only supports .jpeg files, not .jpg, so libmat2 looks for such an extension and converts it if necessary. As this check is case sensitive, processing .JPG files does not work. Fixes #47. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-07-19Improve the code's documentationjvoisin
2018-07-08Fix some pep8 issues spotted by pyflakesjvoisin
2018-07-06Simplify BMP handlingjvoisin
2018-07-02Improve a bit the formatting of the code thanks to pyflakes3jvoisin
2018-06-22Improve reliability against corrupted image filesjvoisin
2018-06-10Improve a bit the performances wrt. image's metadata displayjvoisin
2018-06-08Speed up a bit the processing of get_meta for images with a "regular" namejvoisin
2018-06-08Improve the code to handle problematic filenamesjvoisin
2018-06-06Prevent exiftool-based parameter-injectionjvoisin
2018-05-18Rename some files to simplify packagingjvoisin
- the `src` folder is now `libmat2` - the `main.py` script is now `mat2.py`