Skip to content

Commit

Permalink
Added normalize example
Browse files Browse the repository at this point in the history
  • Loading branch information
neauoire committed Mar 6, 2020
1 parent 754a242 commit a3122d6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/pixels/normalize.lisp
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit a3122d6

Please sign in to comment.