I recently needed to revisit this to create simple monochrome bitmaps representing the sets of nozzles turned off/on on a Xaar microarrayer printhead. Sample code here. Essential steps are outlined …
Creating the byte arrayThis post describes a means of taking data in the form of raw pixels containing RGB values as well as the image height, width and the number …