home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,642 of 2,978   
   Marco van de Voort to radu   
   Re: .bmp   
   02 Jun 08 11:53:29   
   
   6eed9bd4   
   From: marcov@stack.nl   
      
   On 2008-06-02, radu  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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca