From c089b2fa50ba4caebd2702e26ee15e7155cced5f Mon Sep 17 00:00:00 2001 From: Neil Toronto Date: Tue, 5 Jun 2012 11:08:59 -0600 Subject: [PATCH] Use `collection-file-path' to load example image --- collects/images/scribblings/flomap.scrbl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collects/images/scribblings/flomap.scrbl b/collects/images/scribblings/flomap.scrbl index bea176a389..e5fe2ed37b 100644 --- a/collects/images/scribblings/flomap.scrbl +++ b/collects/images/scribblings/flomap.scrbl @@ -1157,7 +1157,9 @@ It also provides a physically grounded generalization of the flomap transforms r @interaction-eval[#:eval flomap-eval (begin (require racket/draw) (define state-of-the-union-fm - (bitmap->flomap (read-bitmap (build-path (current-directory) "scribblings" "images" "state-of-the-union.jpg") 'jpeg))))] + (bitmap->flomap (read-bitmap (collection-file-path "state-of-the-union.jpg" + (build-path "images" "scribblings" "images")) + 'jpeg))))] @defproc[(flomap-projection-transform [to-proj Projection] [from-proj Projection] [crop? Boolean]) Flomap-Transform]{ Returns a flomap transform that corrects for or simulates lens distortion.