Re: [Pgui-devel] Primitive for displaying fast a RGB buffer

2001-10-23 Thread Olivier Bornet
Hello Micah, > PicoGUI's pgNewBitmap function can handle this. It supports the PPM format, > which is just 24-bit RGB data with a small header. Here's an example of > generating an RGB bitmap at runtime: Great ! The use of the PPM format is OK. Thanks for your allways good hints. Olivie

RE: [Pgui-devel] Primitive for displaying fast a RGB buffer

2001-10-22 Thread Micah Dowty
tion video? > > John > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Micah > Dowty > Sent: Monday, October 22, 2001 11:53 AM > To: Olivier Bornet > Cc: PicoGUI Devel > Subject: Re: [Pgui-devel] Primitive for di

RE: [Pgui-devel] Primitive for displaying fast a RGB buffer

2001-10-22 Thread John Laur
Dowty Sent: Monday, October 22, 2001 11:53 AM To: Olivier Bornet Cc: PicoGUI Devel Subject: Re: [Pgui-devel] Primitive for displaying fast a RGB buffer PicoGUI's pgNewBitmap function can handle this. It supports the PPM format, which is just 24-bit RGB data with a small header. Here's an

Re: [Pgui-devel] Primitive for displaying fast a RGB buffer

2001-10-22 Thread Micah Dowty
PicoGUI's pgNewBitmap function can handle this. It supports the PPM format, which is just 24-bit RGB data with a small header. Here's an example of generating an RGB bitmap at runtime: --8<-- /* Demonstration of loading RGB pixel values as a bitmap in PicoGUI */ #include #include /* B

[Pgui-devel] Primitive for displaying fast a RGB buffer

2001-10-22 Thread Olivier Bornet
Hello, I want to display a RGB buffer I have in memory (let's call it rgbbuf). The buffer consist of an array of the red, green and blue values of each pixel (red1, green1, blue1, red2, green2, blue2, red3, green3, blue3, ...). No separation are made for lines break. I just know the width (w) and