Resize to 200×200 (bilinear)
Simple bilinear resizing of an image to a fixed 200x200 resolution.
INPUT
OUTPUT
JavaScript
// Resize to 200×200 (bilinear)
// resize.js
//!OUTPUT: OUTPUT
//!PARAM: WIDTH:integer=200,min=100,max=2000
//!PARAM: HEIGHT:integer=200,min=100,max=2000
// Resize to 200x200 (bilinear)
Engine.loadImage(INPUT).resize(WIDTH, HEIGHT).save(OUTPUT);
// © 2026 Michael Lechner · mlc OpticScript · https://mlcgo.eu · Elastic License 2.0