Added (crop), fixes #29
This commit is contained in:
16
examples/crop.lisp
Normal file
16
examples/crop.lisp
Normal file
@@ -0,0 +1,16 @@
|
||||
; crop
|
||||
|
||||
(
|
||||
(clear)
|
||||
|
||||
; Filter
|
||||
|
||||
(def filter-action
|
||||
(lambda () (crop (rect 100 100 400 400))))
|
||||
|
||||
; Draw photo
|
||||
|
||||
(open
|
||||
"../../PREVIEW.jpg"
|
||||
filter-action)
|
||||
)
|
||||
@@ -1,4 +1,4 @@
|
||||
; pixels
|
||||
; resize
|
||||
|
||||
(
|
||||
(clear)
|
||||
|
||||
Reference in New Issue
Block a user