mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	hello: Add interactive block showing basic usage.
Co-Authored-By: Vlad Korobov <terpimost@gmail.com>
This commit is contained in:
		@@ -36,7 +36,7 @@ def generate_landing_page_images() -> None:
 | 
			
		||||
        scaled_width = get_x_size(image.width, size)
 | 
			
		||||
        scaled_height = get_x_size(image.height, size)
 | 
			
		||||
        scaled = image.thumbnail_image(scaled_width, height=scaled_height)
 | 
			
		||||
        for format in ("webp[Q=55]", "jpg[Q=75,optimize-coding=true]"):
 | 
			
		||||
        for format in ("webp[Q=60]", "jpg[Q=80,optimize-coding=true]"):
 | 
			
		||||
            scaled.write_to_file(f"{GENERATED_IMAGES_DIR}/{file_name}-{size}x.{format}")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user