mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Feature for transparent webp
This commit is contained in:
		
							parent
							
								
									89b6820530
								
							
						
					
					
						commit
						a5499170f9
					
				| 
						 | 
				
			
			@ -190,6 +190,14 @@ if __name__ == "__main__":
 | 
			
		|||
    check_module("FREETYPE2", "_imagingft")
 | 
			
		||||
    check_module("LITTLECMS", "_imagingcms")
 | 
			
		||||
    check_module("WEBP", "_webp")
 | 
			
		||||
    try:
 | 
			
		||||
        import _webp
 | 
			
		||||
        if _webp.WebPDecoderBuggyAlpha():
 | 
			
		||||
            print("***", "Transparent WEBP", "support not installed")
 | 
			
		||||
        else:
 | 
			
		||||
            print("---", "Transparent WEBP", "support ok")
 | 
			
		||||
    except Exception:
 | 
			
		||||
        pass
 | 
			
		||||
    print("-"*68)
 | 
			
		||||
 | 
			
		||||
    # use doctest to make sure the test program behaves as documented!
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user