You can use `mogrify` command line tool from ImageMagick for batch image processing: https://imagemagick.org/

The following command resizes all .jpg images of current directory into same target size 1024x768, and store the new images into subfolder "processed":

    magick mogrify -resize 1024x768! -path processed *.jpg

The following command resizes all .jpg and .png images of current directory into 50% of their original sizes, and store the new images one folder up:

    magick mogrify -resize 50% -path .. *.jpg *.png

Be careful that if you do not specify `-path`, the new images will be saved in current directory, overwriting existing files.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence