Invert all channels
Inverts the colors of an image, creating a negative effect.
INPUT
OUTPUT
JavaScript
// Invert all channels
// invert.js
//!OUTPUT: OUTPUT
// Invert all channels
Engine.loadImage(INPUT).invert().save(OUTPUT);
// © 2026 Michael Lechner · mlc OpticScript · https://mlcgo.eu · Elastic License 2.0