Re: [racket] racket/gui: Problem displaying bitmap data

2014-06-25 Thread Alexander Shendi
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

Re: [racket] racket/gui: Problem displaying bitmap data

2014-06-24 Thread David Vanderson
"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

Re: [racket] racket/gui: Problem displaying bitmap data

2014-06-24 Thread Alexander Shendi
#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

[racket] racket/gui: Problem displaying bitmap data

2014-06-24 Thread Alexander Shendi
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)