This PowerShell script generates WordPress-style image thumbnails at multiple sizes and formats with cropping and aspect ratio control. It uses FFmpeg for scaling, cropping, and encoding images into JPG, PNG, or WebP formats.
- ✅ Generate thumbnails at any number of target widths
- ✅ Supports output in
jpg,png, andwebpformats - ✅ Optional forced aspect ratio override (e.g.,
16:9,1:1) - ✅ Precise cropping to produce exact
WIDTH x HEIGHTdimensions