From a3122d6bd8a865b1a55377bc40af0b6c1c46470c Mon Sep 17 00:00:00 2001 From: neauoire Date: Fri, 6 Mar 2020 09:04:42 +0900 Subject: [PATCH] Added normalize example --- examples/pixels/normalize.lisp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/pixels/normalize.lisp diff --git a/examples/pixels/normalize.lisp b/examples/pixels/normalize.lisp new file mode 100644 index 0000000..9ff7591 --- /dev/null +++ b/examples/pixels/normalize.lisp @@ -0,0 +1,11 @@ +; Render script for a6000 +(clear) +(def photo-rect + (rect 0 0 + (div 4240 2) + (div 2400 2))) +(resize photo-rect:w photo-rect:h) +(import $path photo-rect) +(pixels normalize + (pick photo-rect)) +(export "export" "image/jpeg" 0.9) \ No newline at end of file