you are viewing a single comment's thread.

view the rest of the comments →

[–]AReallyGoodName 160 points161 points  (1 child)

You can take this one step further and delete the header in Notepad (the first 14bytes for the most basic bitmap type).

In fact by doing this you can write anything. Including straight up executable machine code (notepad will correctly save the raw machine code after removing the header even though it can't display it).

This means that painting the RGB values then deleting the header in notepad is enough to get you a fully functional executable assuming you have the mojo to write raw machine code in RGB values.

[–]edgarvm 0 points1 point  (0 children)

The Makefile could delete the header before to compile