If your images are in other formats and you want to convert them to JPEG:
In batch processing scripts, "4JPG" often denotes a specific workflow where four JPEG images are processed, merged, or optimized simultaneously.
JPEG remains the most universally supported format. WebP is great, but it fails on older macOS, legacy CMS platforms, and some Android browsers. AVIF is cutting edge but unstable.