Re: drawing a line
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Sat, 25 Nov 2006 09:27:40 +0000
Malcolm said:
"Richard Heathfield" <rjh@xxxxxxxxxxxxxxx> wrote in message
news:3uudnSealLhfbfrYRVnysQ@xxxxxxxxx
It's OK to write 24-bit bitmaps exclusively in these days of infinite hard
[...] The BMP file format is -
er, the BMP file formats are - well-known and quite easy to parse, once
you realise something stupidly obvious (i.e. you can decide to deal
exclusively with 24-bit bitmaps, making your life a trillion times
easier). [...]
drives. However you still need to read the lot, unless you are in control
of whoever uses the program.
Yes, one day I suppose I'll extend my reader to read any bitmap, but for now
it meets my needs, as I am the one who converts the images into bitmap
format in the first place, so I'm careful to use something which knows
(such as the GIMP, or Image-Magick, or - to be fair - almost anything,
nowadays).
Then there is an evil little twist. Microsoft Visual Studio will only
import bitmaps that are upside down. That's right. MS programming dept
can't even parse their own file format.
<shrug> I suppose I could care less, but it's difficult to see how. I am not
attracted to bitmaps because of their (limited) support in Windows, but
because BMP (or at least the subset of it that I choose to acknowledge) is
a nice simple non-lossy file format that's dead easy to read into a frame
buffer for graphical messing about with in ISO C. It's the graphical
messing about in ISO C which interests me, not the peculiarities of
storage. Otherwise I'd be using GIF or JPEG or PNG or something.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.
- Follow-Ups:
- Re: drawing a line
- From: Malcolm
- Re: drawing a line
- References:
- drawing a line
- From: marko
- Re: drawing a line
- From: Nick Keighley
- Re: drawing a line
- From: Richard Heathfield
- Re: drawing a line
- From: marko
- Re: drawing a line
- From: Richard Heathfield
- Re: drawing a line
- From: Malcolm
- drawing a line
- Prev by Date: Re: Most Interesting Bug Track Down
- Next by Date: Re: drawing a line
- Previous by thread: Re: drawing a line
- Next by thread: Re: drawing a line
- Index(es):
Relevant Pages
|