(My reply to this post bounced on the attempt to send to OP.) On Wed, Apr 22, 2020 at 3:39 PM 'racket' via users-redirect < [email protected]> wrote:
> > Hi, > I’m writing to the group looking for help with a performance issue. > I’m coding a gallery like application, using the racket/draw library, but > the bitmap% class seems to be pretty slow. The (make-bitmap 4000 3000) > operation takes more than 4 seconds on my computer (a macbook pro with a > 3.1GHz dual core i5 and 16GB ram). > What I'd need to do is simply read and resize some jpeg files to display > them in a canvas. I could use some external program to resize the photos > but I would prefer to work with racket only. The make-platform-bitmap is 20 > times faster than the make-bitmap, but I didn’t find a way to draw a jpeg > on it. > Do you have any suggestion? > > Thanks, > 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.5ea0ab6b.35178ff7.17869%40andreagiardina.com > <https://groups.google.com/d/msgid/racket-users/etPan.5ea0ab6b.35178ff7.17869%40andreagiardina.com?utm_medium=email&utm_source=footer> > . > -- 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/CAL3TdOPcD4e_HOzO5_t_DXJisvZovOXOFRTA50LbGye2RsVb-g%40mail.gmail.com.

