4. Convert all images under a subdirectory to WEBP and auto-rotate any JPG images
pingo -webp -rotate d:\incomingImages
Pingo - Help
# Pingo - Help
Source: https://css-ig.net/pingo
```
-----------------------------------------------------------------
pingo v1.24.2 - experimental web image optimizer
-----------------------------------------------------------------
css-ig.net/pingo - by Cedric Louvrier
-----------------------------------------------------------------
(default) auto optimization for web
-s1 to -s4 compression level
-lossless use web-lossless optimizer
-quality=N [1-100] lossy quality (override default)
-resize=N [24-4096] image downscaler (keep ratio)
-notrans remove transparency from PNG
-grayscale convert image to grayscale (or -grayline)
-enhance=N [1-6] increase details
-srgb convert image from color profile (sRGB)
-rotate rotate image from the orientation flag (JPEG)
-jpeg convert PNG to JPEG
-webp convert PNG/JPEG to WebP
-nostrip do not remove metadata
-noalpha keep all RGB data (even if a=0)
-notime keep the modification date
-no-N avoid N: png, jpeg, apng, webp
-process=N [0-4] resource level allocation
-quiet do not show progress or report
-----------------------------------------------------------------
!! WARNING !! - DO BACKUP - USE ONLY ON TEST FILES
-----------------------------------------------------------------
```