gettingstarted
[Top] [All Lists]

Re: BMP issues

To: gettingstarted at lists dot realsoftware dot com
Subject: Re: BMP issues
From: "Lars Jensen" <larsjensen at gmail dot com>
Date: Sat, 3 Feb 2007 13:54:24 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dcY2X4ietdfMhnK6qrSQnJUe3OADt1ISJdtVVtzsOoPLNTNyS6HafB4uoi0nfNwpYEkYoFKVvlO4Cry4yjX1TbFdIuBFsNLzYsafKZAhssSs2d9IZSWkHceW5/m1Xh+TLBd0KaYCl/0cOrh8Sd5roAnwqiA0xcZUKdORfv7eysE=
> You could write RB code to generate the BMP file yourself.

How would I go about doing that?

As file formats go, BMP is not that complex, and most apps don't
support all the obscure variations. If you just need a BMP file that
can be read by most graphics tools, then you write out a couple of
short headers and some picture data and you're done. (If you want less
than 24 bits per pixel, you'll have to generate and write a color
table too. Again, not hard.) If you're comfortable with bits and
bytes, then this probably represents about an afternoon's work. If
not, it's probably not a good workaround for you.

Google for "BMP file format" and start reading. Here are some pages I
found useful:

http://local.wasp.uwa.edu.au/~pbourke/dataformats/bmp/
http://en.wikipedia.org/wiki/Windows_bitmap
http://www.fortunecity.com/skyscraper/windows/364/bmpffrmt.html
http://web.uccs.edu/wbahn/ECE1021/STATIC/REFERENCES/bmpfileformat.htm
http://atlc.sourceforge.net/bmp.html#_toc381201090
http://www.fileformat.info/format/bmp/egff.htm

lj
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>