pillow-avif-plugin 1.5.0__cp313-cp313-macosx_10_13_x86_64.whl → 1.5.2__cp313-cp313-macosx_10_13_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pillow-avif-plugin might be problematic. Click here for more details.

Binary file
@@ -312,6 +312,12 @@ def _save(im, fp, filename, save_all=False):
312
312
  fp.write(data)
313
313
 
314
314
 
315
+ # Prevent Pillow's AVIF plugin from replacing this plugin
316
+ try:
317
+ from PIL import AvifImagePlugin # noqa: F401
318
+ except ImportError:
319
+ pass
320
+
315
321
  Image.register_open(AvifImageFile.format, AvifImageFile, _accept)
316
322
  if SUPPORTED:
317
323
  Image.register_save(AvifImageFile.format, _save)
pillow_avif/__init__.py CHANGED
@@ -2,4 +2,4 @@ from . import AvifImagePlugin
2
2
 
3
3
 
4
4
  __all__ = ["AvifImagePlugin"]
5
- __version__ = "1.5.0"
5
+ __version__ = "1.5.2"
Binary file
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pillow-avif-plugin
3
- Version: 1.5.0
3
+ Version: 1.5.2
4
4
  Summary: A pillow plugin that adds avif support via libavif
5
5
  Home-page: https://github.com/fdintino/pillow-avif-plugin/
6
6
  Download-URL: https://github.com/fdintino/pillow-avif-plugin/releases
@@ -42,6 +42,7 @@ Dynamic: description-content-type
42
42
  Dynamic: download-url
43
43
  Dynamic: home-page
44
44
  Dynamic: license
45
+ Dynamic: license-file
45
46
  Dynamic: provides-extra
46
47
  Dynamic: summary
47
48
 
@@ -0,0 +1,10 @@
1
+ pillow_avif_plugin-1.5.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2
+ pillow_avif_plugin-1.5.2.dist-info/RECORD,,
3
+ pillow_avif_plugin-1.5.2.dist-info/WHEEL,sha256=wpNQooBO9D6uM2ADJFBQhJhZ-nMt-E1FNiXxhTrjxtE,138
4
+ pillow_avif_plugin-1.5.2.dist-info/top_level.txt,sha256=xrg4zRnqDyl_JEyEQh3oCcAU4BHneocD-DCFDzf4g9E,12
5
+ pillow_avif_plugin-1.5.2.dist-info/METADATA,sha256=wslkV5HQXyfNo6jHUVVNTx5b075J5PAgTr9vO2zdBis,2143
6
+ pillow_avif_plugin-1.5.2.dist-info/licenses/LICENSE,sha256=2l49eVdgaNy9JTEPbstz1GaaPKw02gFdtuThTNUi730,25213
7
+ pillow_avif/AvifImagePlugin.py,sha256=OsS19EQ3KjKNuP-WRamO3xVujD0mU3XiUPuLbUmg5K8,9899
8
+ pillow_avif/__init__.py,sha256=hi8l2UljAlWGpk9AHYVAQnZME7WyNCtPLuTQeGUkxLI,84
9
+ pillow_avif/_avif.cpython-313-darwin.so,sha256=lGXzxZmeFIYxDPflr0dBHew4gehlMQla6U83L4nqve8,57536
10
+ pillow_avif/.dylibs/libavif.16.2.1.dylib,sha256=Xo2iwrQKnnltc_E3MeWjxub8LQSl2xKm_MiJwigxZuo,8665440
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (79.0.1)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp313-cp313-macosx_10_13_x86_64
5
5
  Generator: delocate 0.13.0
@@ -1,9 +0,0 @@
1
- pillow_avif_plugin-1.5.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2
- pillow_avif_plugin-1.5.0.dist-info/RECORD,,
3
- pillow_avif_plugin-1.5.0.dist-info/LICENSE,sha256=2l49eVdgaNy9JTEPbstz1GaaPKw02gFdtuThTNUi730,25213
4
- pillow_avif_plugin-1.5.0.dist-info/WHEEL,sha256=dcs9JaPvTQatUzmSh6Az_iLJKx0IT1WKq_c5qaF4d_Y,138
5
- pillow_avif_plugin-1.5.0.dist-info/top_level.txt,sha256=xrg4zRnqDyl_JEyEQh3oCcAU4BHneocD-DCFDzf4g9E,12
6
- pillow_avif_plugin-1.5.0.dist-info/METADATA,sha256=zqZrnnkppQKhEKVVZJg5c7QdjJTyUOgubADrrp4NA80,2121
7
- pillow_avif/AvifImagePlugin.py,sha256=B0w7AVoU3R-O9tTIOSqhjJdNAAEMYzMFhUcKf8Lczm4,9756
8
- pillow_avif/__init__.py,sha256=WizNBA2tnvKOUu0TpY5AMKK-eTngXBeMDr5YI-2wRDc,84
9
- pillow_avif/_avif.cpython-313-darwin.so,sha256=2nNHjQFBDTearEdWoGzmnMcRc9JLYWq01GRhkUsOEbk,20545944