** A quick and dirty intro to the .pbm file format **
I’ve been fiddling with writing programs that draw pictures. I started with PostScript for this, but have since moved to writing programs that output in the .pbm
format.
My goal here is to write noise to a .pbm
file.
A .pbm
file is the lowest common denominator among image file formats.
An example of the format,
”`hljs plaintext
P1
5 5
1 0 1 0 1
0 1 0 1 0
1 0 1 … ⌘ Read more”`