pillow-avif-plugin 1.5.0__cp38-cp38-musllinux_1_1_x86_64.whl → 1.5.2__cp38-cp38-musllinux_1_1_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.

@@ -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"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
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
@@ -0,0 +1,10 @@
1
+ pillow_avif_plugin.libs/libavif-73966192.so.16.2.1,sha256=xnWRAcy6NSHZaBBVLhluNkkYVND6FbwSSmvtPC9O3kc,9399009
2
+ pillow_avif/AvifImagePlugin.py,sha256=OsS19EQ3KjKNuP-WRamO3xVujD0mU3XiUPuLbUmg5K8,9899
3
+ pillow_avif/_avif.cpython-38-x86_64-linux-gnu.so,sha256=huH0f1FvZZmSoFTZJf00z80r4pzKrgZX9vkr-WHbr7A,40817
4
+ pillow_avif/__init__.py,sha256=hi8l2UljAlWGpk9AHYVAQnZME7WyNCtPLuTQeGUkxLI,84
5
+ pillow_avif_plugin-1.5.2.dist-info/top_level.txt,sha256=xrg4zRnqDyl_JEyEQh3oCcAU4BHneocD-DCFDzf4g9E,12
6
+ pillow_avif_plugin-1.5.2.dist-info/METADATA,sha256=W-Iv2zw-karQbxro2GuzICHRpSCTu1y-6iIUj6KIppg,1914
7
+ pillow_avif_plugin-1.5.2.dist-info/LICENSE,sha256=2l49eVdgaNy9JTEPbstz1GaaPKw02gFdtuThTNUi730,25213
8
+ pillow_avif_plugin-1.5.2.dist-info/RECORD,,
9
+ pillow_avif_plugin-1.5.2.dist-info/WHEEL,sha256=J_uMkm0dw3_03g2l_tG87hXKNsNbFcKeDu0GnBi8uIw,110
10
+ pillow_avif_plugin-1.5.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.3.2)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-cp38-musllinux_1_1_x86_64
5
5
 
@@ -1,9 +0,0 @@
1
- pillow_avif/AvifImagePlugin.py,sha256=B0w7AVoU3R-O9tTIOSqhjJdNAAEMYzMFhUcKf8Lczm4,9756
2
- pillow_avif/_avif.cpython-38-x86_64-linux-gnu.so,sha256=E269dyTzFCIEKCQJ1uL-3NQzmKLr-CtJWyn_oN0fFfE,17876312
3
- pillow_avif/__init__.py,sha256=WizNBA2tnvKOUu0TpY5AMKK-eTngXBeMDr5YI-2wRDc,84
4
- pillow_avif_plugin-1.5.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
- pillow_avif_plugin-1.5.0.dist-info/LICENSE,sha256=2l49eVdgaNy9JTEPbstz1GaaPKw02gFdtuThTNUi730,25213
6
- pillow_avif_plugin-1.5.0.dist-info/WHEEL,sha256=yL4efIhQe-o6EElH3I8cxQaBUDzBNI-yj1fHfAehO7I,110
7
- pillow_avif_plugin-1.5.0.dist-info/RECORD,,
8
- pillow_avif_plugin-1.5.0.dist-info/top_level.txt,sha256=xrg4zRnqDyl_JEyEQh3oCcAU4BHneocD-DCFDzf4g9E,12
9
- pillow_avif_plugin-1.5.0.dist-info/METADATA,sha256=FJmAq7TEaZESlVlc-hbVHmT5fO2YXrYAWi3MQz89c-w,1914