/deno-image-rotator

Deno script that rotates all images in a directory by a specified amount.

Primary LanguageTypeScript

Deno Image Rotator

This script rotates all images in a directory and all sub-directories by a specified amount using Deno and imagescript.

Prerequisites

Ensure Deno is installed.

How to use

Navigate into the root deno-image-rotator directory and run:

deno run --allow-read --allow-net --allow-write main.ts [directory] [rotation]

Examples

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