This script rotates all images in a directory and all sub-directories by a specified amount using Deno and imagescript.
Ensure Deno is installed.
Navigate into the root deno-image-rotator
directory and run:
deno run --allow-read --allow-net --allow-write main.ts [directory] [rotation]
If you want to rotate all images in the ./img
directory by 90
degrees:
deno run --allow-read --allow-net --allow-write main.ts ./img 90