mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Updated libavif to 1.3.0
This commit is contained in:
		
							parent
							
								
									3c71559804
								
							
						
					
					
						commit
						efa2288643
					
				| 
						 | 
				
			
			@ -233,7 +233,7 @@ class TestFileAvif:
 | 
			
		|||
        with Image.open(out_gif) as reread:
 | 
			
		||||
            reread_value = reread.convert("RGB").getpixel((1, 1))
 | 
			
		||||
        difference = sum([abs(original_value[i] - reread_value[i]) for i in range(3)])
 | 
			
		||||
        assert difference <= 3
 | 
			
		||||
        assert difference <= 6
 | 
			
		||||
 | 
			
		||||
    def test_save_single_frame(self, tmp_path: Path) -> None:
 | 
			
		||||
        temp_file = tmp_path / "temp.avif"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
set -eo pipefail
 | 
			
		||||
 | 
			
		||||
version=1.2.1
 | 
			
		||||
version=1.3.0
 | 
			
		||||
 | 
			
		||||
./download-and-extract.sh libavif-$version https://github.com/AOMediaCodec/libavif/archive/refs/tags/v$version.tar.gz
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -116,7 +116,7 @@ V = {
 | 
			
		|||
    "HARFBUZZ": "11.1.0",
 | 
			
		||||
    "JPEGTURBO": "3.1.0",
 | 
			
		||||
    "LCMS2": "2.17",
 | 
			
		||||
    "LIBAVIF": "1.2.1",
 | 
			
		||||
    "LIBAVIF": "1.3.0",
 | 
			
		||||
    "LIBIMAGEQUANT": "4.3.4",
 | 
			
		||||
    "LIBPNG": "1.6.47",
 | 
			
		||||
    "LIBWEBP": "1.5.0",
 | 
			
		||||
| 
						 | 
				
			
			@ -399,7 +399,6 @@ DEPS: dict[str, dict[str, Any]] = {
 | 
			
		|||
                "-DAVIF_CODEC_DAV1D=LOCAL",
 | 
			
		||||
                "-DAVIF_CODEC_RAV1E=LOCAL",
 | 
			
		||||
                "-DAVIF_CODEC_SVT=LOCAL",
 | 
			
		||||
                "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
 | 
			
		||||
            ),
 | 
			
		||||
            cmd_xcopy("include", "{inc_dir}"),
 | 
			
		||||
        ],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user