pillow-avif-plugin 1.5.0__cp311-cp311-win_amd64.whl → 1.5.2__cp311-cp311-win_amd64.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"
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,9 @@
1
+ pillow_avif/AvifImagePlugin.py,sha256=Rh4UnjzXBRaCmPt0shGb3MdI1F4QwMMF7kJoWVte2hI,10225
2
+ pillow_avif/__init__.py,sha256=DXyX3Jy4Hm8FlSDFaoJsrJIM4r8jngmSPQraSStRcOI,89
3
+ pillow_avif/_avif.cp311-win_amd64.pyd,sha256=_EsfC10VqcjDdeuCV7Qt6tS67PBr7iCmoev1PQ2TcNU,23592448
4
+ pillow_avif_plugin-1.5.2.dist-info/licenses/LICENSE,sha256=SixYjO_g9-EXRHQrFHl8gWLuk_m8oMNPoOzY9qM5w14,22157
5
+ pillow_avif_plugin-1.5.2.dist-info/METADATA,sha256=6UAP5iWQ3Kkj1n4CeYD-oh4CjRyfZd3wXd7nNMGdf80,2196
6
+ pillow_avif_plugin-1.5.2.dist-info/WHEEL,sha256=oEjOS__eymZOlbVKA4cO_63xUK8u3m8eSPjzCdMe61I,101
7
+ pillow_avif_plugin-1.5.2.dist-info/top_level.txt,sha256=xrg4zRnqDyl_JEyEQh3oCcAU4BHneocD-DCFDzf4g9E,12
8
+ pillow_avif_plugin-1.5.2.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
9
+ pillow_avif_plugin-1.5.2.dist-info/RECORD,,
@@ -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: cp311-cp311-win_amd64
5
5
 
@@ -21,7 +21,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21
21
  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22
22
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
23
 
24
- ===== libavif-1.2.0 =====
24
+ ===== libavif-1.2.1 =====
25
25
 
26
26
  Copyright 2019 Joe Drago. All rights reserved.
27
27
 
@@ -1,9 +0,0 @@
1
- pillow_avif/AvifImagePlugin.py,sha256=feaH0FfbvdvJTz8O7T5iFpaTzYWWFvawYmSCw-04fk4,10076
2
- pillow_avif/__init__.py,sha256=iJngk1jo9Yj_8pTb-6GH557aQ3xt5_XoaYD5e6tD3Lc,89
3
- pillow_avif/_avif.cp311-win_amd64.pyd,sha256=yMx2qnw3xMGPbHfLjuFzJmpXuCM0ShdCF9DphHWAyyc,29477888
4
- pillow_avif_plugin-1.5.0.dist-info/LICENSE,sha256=vU8bBlq93roT76YlLFSt9-abfNfu2OUndnE109KKxq8,22157
5
- pillow_avif_plugin-1.5.0.dist-info/METADATA,sha256=vKRgrSaayv3Hec31XfKGxvUnV1rMjAybw0iSHKNEC_A,2173
6
- pillow_avif_plugin-1.5.0.dist-info/WHEEL,sha256=lPxm9M09dVYWZ0wAh0Zu0ADFguuSXLRXmaW8X9Lg2rA,101
7
- pillow_avif_plugin-1.5.0.dist-info/top_level.txt,sha256=xrg4zRnqDyl_JEyEQh3oCcAU4BHneocD-DCFDzf4g9E,12
8
- pillow_avif_plugin-1.5.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
9
- pillow_avif_plugin-1.5.0.dist-info/RECORD,,