.bmp

This is a discussion on .bmp within the Pascal forums in Programming Languages category; 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....

Go Back   Application Development Forum > Programming Languages > Pascal

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-02-2008, 07:37 AM
radu
Guest
 
Default .bmp

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.
Reply With Quote
  #2  
Old 06-02-2008, 07:53 AM
Marco van de Voort
Guest
 
Default Re: .bmp

On 2008-06-02, radu <lungu.radu@gmail.com> wrote:
> 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.


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.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:03 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.