3 ms·
> Bitmap is the easiest image file format in the world to read/write When making a quick hack like a toy ray tracer or Mandelbrot generator in C or C++, it's t
by somebodynew 5y ago
> Bitmap is the easiest image file format in the world to read/write
When making a quick hack like a toy ray tracer or Mandelbrot generator in C or C++, it's traditional to use .ppm [0] because it's trivial to write out pixel values in ASCII.
[0] https://en.wikipedia.org/wiki/Netpbm#File_formats https://en.wikipedia.org/wiki/Netpbm#File_formats