News for hackers. Stuff that matters.
Re:I rewrote Firefox's BMP decoder by raverbashing on Friday November 06, 2015 @05:51AM (#10518795)
BMP was one of the last formats that would be possible to "decode manually" (that is, read the actual data and paint the image from it). PCX was one of the other (using RLE)

Sure, easier to use a library, but sometimes you have some constraints

Re:I rewrote Firefox's BMP decoder by mnw21cam on Friday November 06, 2015 @05:53AM (#10518803)
Ever heard of the Netpbm image format?

https://en.wikipedia.org/wiki/Netpbm_format

Re:I rewrote Firefox's BMP decoder by raverbashing on Friday November 06, 2015 @05:57AM (#10518816)
Yes, but they're not very commonplace in 'real usages'
Re:I rewrote Firefox's BMP decoder by dr_zoidberg on Friday November 06, 2015 @07:28AM (#10519090)
It depends. A friend of mine works with PAM[1] with satellite images. That counts as real enough for me.

[1] https://en.wikipedia.org/wiki/Netpbm#PAM_graphics_format

Re:I rewrote Firefox's BMP decoder by pmelendez on Friday November 06, 2015 @10:25AM (#10519879)
They are actually very common depending on what you are doing. For instance, if you are looking for public image datasets for face recognition you would find that the file format is being used a lot.
Re:I rewrote Firefox's BMP decoder by woofyman on Friday November 06, 2015 @07:31AM (#10519101)
TARGA files are also easy to read and write. BMPs are annoying since each scan line needs to be long word aligned.
Re:I rewrote Firefox's BMP decoder by angersock on Friday November 06, 2015 @12:25PM (#10520595)
Seconding this. TGA also has the nicest file spec I've ever read:

http://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tga...

Re:I rewrote Firefox's BMP decoder by ant6n on Friday November 06, 2015 @09:55AM (#10519729)
What about svg?
Re:I rewrote Firefox's BMP decoder by JupiterMoon on Friday November 06, 2015 @10:05AM (#10519765)
Truish. But have you ever attempt to manually draw a bezier curve?
Re:I rewrote Firefox's BMP decoder by ant6n on Friday November 06, 2015 @11:20AM (#10520240)
Get out your graph paper, technical drawing pen, templates and french curves.