My name is Philipp C. Heckel and I write about nerdy things.

Posts Tagged / Image


  • Mar 02 / 2013
  • Comments Off on Java: Encode any byte array, stream or file into a 24-bit bitmap image (BMP)
Programming

Java: Encode any byte array, stream or file into a 24-bit bitmap image (BMP)

In some situations it is necessary to hide binary data in another file format so that it cannot be easily detected — be it to store data on image storage platforms such as Picasa, or to circumvent firewalls or mail filters. I wrote a little helper to encode byte arrays, streams or files into 24-bit bitmap images (BMP files).

Continue Reading