Added normalize example

This commit is contained in:
neauoire 2020-03-06 09:04:42 +09:00
parent 754a24266b
commit a3122d6bd8

View File

@ -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)