{"version":"1.0","type":"rich","title":"Converts a directory of images into two directories, one large, one small of PNGs","description":"This script converts a directory of images into two resized PNG collections, preserving the original aspect ratio for large (1540-pixel-wide) and small (770-pixel-wide) versions. It processes TIF, TIFF, PNG, and JPG files using Python’s Pillow library (`Image.open`, `resize`, and `ANTIALIAS`), writing outputs into separate `large/` and `small/` subdirectories. The tool also generates a `details.js` file with JSON metadata containing each image’s original and resized dimensions, names, and paths, plus directory-level statistics like total count and creation timestamp.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3789005?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}