Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

.bmp

1 view
Skip to first unread message

radu

unread,
Jun 2, 2008, 7:37:12 AM6/2/08
to
how do i write a .bmp on the disk in pascal programing, pixel by pixel
by color, or read one?
or where do i find help on this issue on the internet? thanks.

Marco van de Voort

unread,
Jun 2, 2008, 7:53:29 AM6/2/08
to

Have a look in the Free Pascal sources. (packages/fpimage), or in SWAG.

Note those FPC sources are more geared towards the Delphi dialect, but it can
show how to.

For a very simple example see:

http://www.stack.nl/~marcov/cntbmp.pp

It writes a bmp to standard output (for web purposes)

The baseunix unit used in the example afaik is only used for getting the
environment string without 255 char limit.

0 new messages