Hello all,
The method suggested by David works. The only thing to consider is that I had stored the pixels in RGBA order, while the "set-argb-pixels" method expects it in ARGB order (hence the name).
Fixing the storage order led to the expected behavior.
Many thanks to David!
Best Regards,
Alexande
"Alexander Shendi"
An: users@racket-lang.org
Betreff: [racket] racket/gui: Problem displaying bitmap data
Dear list,
I am trying to display bitmap data that I have written into a SRFI-4 u8vector (that I believe maps to a Racket
bytevector). The bitmap data is in RGBA format. Now I a
#t)))
(main))
--
Gesendet: Dienstag, 24. Juni 2014 um 20:25 Uhr
Von: "Alexander Shendi"
An: users@racket-lang.org
Betreff: [racket] racket/gui: Problem displaying bitmap data
Dear list,
I am trying to display bitmap data that I have written into
Dear list,
I am trying to display bitmap data that I have written into a SRFI-4 u8vector
(that I believe maps to a Racket
bytevector). The bitmap data is in RGBA format. Now I am trying to display the
bitmap data in a window.
Please see the relevant part of my program below:
(define (main)
4 matches
Mail list logo