mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Fixed efficient saving
This commit is contained in:
		
							parent
							
								
									aef98ef102
								
							
						
					
					
						commit
						de80b8f36b
					
				|  | @ -323,6 +323,7 @@ def _save(im, fp, filename): | |||
| 
 | ||||
|         im_scaled = im.resize((w*2, w*2), Image.LANCZOS) | ||||
|         im_scaled.save(os.path.join(iconset, prefix+'@2x.png')) | ||||
|         last_w = w*2 | ||||
|         last_im = im_scaled | ||||
| 
 | ||||
|     # iconutil -c icns -o {} {} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user