Created
December 16, 2016 17:29
-
-
Save bennn/db6801105abdaea8355ef39ae8693652 to your computer and use it in GitHub Desktop.
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
#lang racket | |
(require file/glob pict racket/draw) | |
(define (path->pict path) | |
(bitmap (make-object bitmap% path 'png))) | |
(define p | |
(parameterize (#;[current-directory (build-path "Users" "ben" "Desktop")]) | |
(apply vc-append 20 (map path->pict (glob "/Users/ben/Desktop/Screen*png"))))) | |
(define b (pict->bitmap p)) | |
(send b save-file "brueggers.png" 'png) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment