Creating a bitmap file from an array of pixels

Hi,

I am trying to create a bitmap file on a disk from an array of pixels that
I have stored in memory. Does anyone have an idea of where to start on
this?

Most of the sites I have found most of the files I have found on the
bitmap file format tell you how to do things in VisualC, which is of no
use.

Thanks,
Brent

Brent Tweddle <betweddl@engmail.uwaterloo.ca> wrote:

Hi,

I am trying to create a bitmap file on a disk from an array of pixels that
I have stored in memory. Does anyone have an idea of where to start on
this?

Most of the sites I have found most of the files I have found on the
bitmap file format tell you how to do things in VisualC, which is of no
use.

Go to:

http://www.parse.com/samples/manpages/fx.html

This is a utility that performs cross-fade and other effects; buried in
the code is something that writes a bitmap file to disk. It basically
uses the Photon PxWriteImage() to do the heavy lifting.

Cheers,
-RK


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/

Hi,

Is that call available for qnx 6.2?? I wasn’t able to find it in photon.
If not is there something that replaces it?

Thanks,
Brent

Robert Krten wrote:

Brent Tweddle <> betweddl@engmail.uwaterloo.ca> > wrote:
Hi,

I am trying to create a bitmap file on a disk from an array of pixels that
I have stored in memory. Does anyone have an idea of where to start on
this?

Most of the sites I have found most of the files I have found on the
bitmap file format tell you how to do things in VisualC, which is of no
use.

Go to:

http://www.parse.com/samples/manpages/fx.html

This is a utility that performs cross-fade and other effects; buried in
the code is something that writes a bitmap file to disk. It basically
uses the Photon PxWriteImage() to do the heavy lifting.

Cheers,
-RK


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector > http://www.parse.com/~pdp8/

Brent Tweddle <betweddl@engmail.uwaterloo.ca> wrote:

Hi,

Is that call available for qnx 6.2?? I wasn’t able to find it in photon.
If not is there something that replaces it?

It’s undocumented :slight_smile: I believe it works for 6.2, as I use it in other utilities.

Cheers,
-RK


Thanks,
Brent

Robert Krten wrote:

Brent Tweddle <> betweddl@engmail.uwaterloo.ca> > wrote:
Hi,

I am trying to create a bitmap file on a disk from an array of pixels that
I have stored in memory. Does anyone have an idea of where to start on
this?

Most of the sites I have found most of the files I have found on the
bitmap file format tell you how to do things in VisualC, which is of no
use.

Go to:

http://www.parse.com/samples/manpages/fx.html

This is a utility that performs cross-fade and other effects; buried in
the code is something that writes a bitmap file to disk. It basically
uses the Photon PxWriteImage() to do the heavy lifting.

Cheers,
-RK


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector > http://www.parse.com/~pdp8/


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/