[racket] Using 2htdp/image with racket-gui
When you say "bitmap" do you mean "bitmap% object"? And if so, why do
they want to do that? If not, do you mean something else?
Robby
On Thu, Mar 19, 2015 at 5:24 PM, Andrew Mauer-Oats <maueroats at gmail.com> wrote:
> Is there a public way to change an image created using the 2htdp/image
> library into a bitmap?
>
> My students are used to those functions and it would be easier for some of
> them to go and build the GUI they want if they didn't have to change over to
> explicitly using drawing contexts.
>
> I have looked at the source for mrlib/image-core, 2htdp/private/image-more,
> and 2htdp/image. It looks like no exported functions can change an image to
> a bitmap.
>
> The only thing they want to do is be able to render an image onto a dc.
> Presumably the render-image function would do that, were it exported.
>
> What should I do?
>
> Thanks for your help,
>
> Andrew Mauer-Oats
> Mathematics Ph.D.
> Chicago Public Schools: Whitney Young
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>