Re: bitmap% performance

Robby Findler <robby-Tm56wbeMse4mSb9I+tWM/[email protected]> Thu, 23 Apr 2020 15:52:00 -0500
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <CAL3TdOP-i6soN+uLZ4OqsAvtGfDLhr28FE5wYpyWXRtxonK2Bg@mail.gmail.com>
On Thu, Apr 23, 2020 at 1:14 PM 'racket' via users-redirect
<[email protected]> wrote:
>
> > 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…

Right-- I agree that that isn't supported currently. I don't know how
difficult it would be to support.

Just a random thought: did you try using the read-bitmap method on the
already created bitmap? I don't know if that would be faster (I wanted
to try before posting but I didn't get there). It may be, however,
that the code inside bitmap% would have to be improved.

Robby

-- 
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 racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAL3TdOP-i6soN%2BuLZ4OqsAvtGfDLhr28FE5wYpyWXRtxonK2Bg%40mail.gmail.com.