Created
May 28, 2013 22:44
-
-
Save dyoo/5666727 to your computer and use it in GitHub Desktop.
bitmap image scaling with flomap operations
This file contains hidden or 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 net/url | |
racket/gui/base | |
images/flomap) | |
(define ip (get-pure-port | |
(string->url "http://racket-lang.org/logo.png"))) | |
(define bm (make-object bitmap% ip)) | |
(define big-bm | |
(flomap->bitmap (flomap-scale (bitmap->flomap bm) 2 2))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment