Reputation: 23
In racket, I can define an image variable like this:
(define a [img])
But would it be possible to store this image to disk? I know that I insert the image from my disk, but I am wondering would it be possible to store it back to disk in program.
Upvotes: 2
Views: 620
Reputation: 31145
Yes, you can use save-image
:
(save-image a "image of arrow.png")
Upvotes: 3