> Thanks! For the first task I think you probably have to use the raw
> bitmap% object (since I guess you're using `read-bitmap`). 

Hi Robby, I don’t understand how to read a jpeg into a platform-bitmap. 
Probably I'm missing something in the documentation…  


> For the second, I guess you are creating very small bitmaps so
> probably this particular creation issue isn't affecting that part? If
> you really have a lot of them, you could probably implement some
> clever pooling that wasn't keeping all of the jpegs in actual bitmap%
> objects all the time but was just keeping ones that were likely to be
> looked at soon in bitmap% objects.

Yes, this is exactly what I’m doing. I’m preloading very small bitmaps in 
memory, display them to give to user a “preview", and then replacing them with 
a better version.

Andrea


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/etPan.5ea1daf8.49f41fcc.17869%40andreagiardina.com.

Reply via email to