Added (crop), fixes #29

This commit is contained in:
Devine Lu Linvega
2019-07-16 10:10:16 +09:00
parent 79f85782ab
commit e9a84b376a
4 changed files with 37 additions and 1 deletions

16
examples/crop.lisp Normal file
View 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)
)

View File

@@ -1,4 +1,4 @@
; pixels
; resize
(
(clear)