Commit Graph

10 Commits

Author SHA1 Message Date
Andrew Murray
4c63ea6186
Fixed series of tuples as advanced argument (#15)
* Removed check_avif_leaks.py

* Removed _VALID_AVIF_MODES

* Fixed series of tuples as advanced argument

* Do not pass advanced values to C as bytes

* Simplified code

* Reuse size

* Destroy image on failure

* Rearranged image settings

* Fixed typo

* Test roundtrip colors from premultiplied alpha

---------

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-15 13:19:55 -05:00
Andrew Murray
3a9a3ab9cc
Reduced epsilons (#13)
* Derive dir from filename

* Reduced epsilons

* Simplified code

* Do not shadow builtin

* Test saving EXIF instance without orientation

* More closely match wheels-dependencies

---------

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-12-24 00:12:36 -05:00
Andrew Murray
a56acd86c4
Removed unittest mock (#10)
* Removed unittest mock

* Updated license

* Increased timeout

---------

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-12-13 10:44:38 -05:00
Frankie Dintino
524d802eda
fix: set exif orientation from irot/imir when decoding AVIF 2024-12-08 22:00:34 -05:00
Andrew Murray
d76ae2f10c
Do not ignore SyntaxError when saving EXIF data (#8)
* Do not ignore SyntaxError when saving EXIF data

* Do not save orientation in EXIF data

* Do not save XMP and EXIF data from info dictionary

---------

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-12-07 12:28:31 -05:00
Andrew Murray
c40bcbfc87 Improved error handling 2024-12-03 10:31:57 +11:00
Andrew Murray
671e3c8b57
Removed unused upsampling setting (#5)
* Use filename placeholder in URL

* Removed unused upsampling setting

* Use has_transparency_data

* Removed unnecessary load()

* Test getexif() change

---------

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-11-12 13:33:18 -05:00
Andrew Murray
58ef69228d
Simplified code (#3)
* Removed unnecessary meson install

* Use the same Python as the build script

* Use python3

* Simplified code

* Updated meson

---------

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-10-19 01:15:53 -04:00
Andrew Murray
e2add24ec5
Added type hints (#2)
* Added type hints

* Updated nasm to 2.16.03

* Removed duplicate meson install

* Simplified code

* Sort formats alphabetically

* tile is already an empty list

---------

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-10-16 09:41:35 -04:00
Frankie Dintino
3878b588a4
Add AVIF plugin (using libavif) 2024-10-16 09:41:35 -04:00