-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
16 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
; 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) | ||
; Normalize photo colors | ||
|
||
(open $path 0.5) | ||
(def average-color | ||
(pick)) | ||
(pixels normalize average-color) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
; sharpen photo | ||
|
||
(open $path 0.75) | ||
(def average-color | ||
(pick)) | ||
(convolve | ||
(sharpen)) |