From 5e3b86c2869a7225fdc611a435ac2cc204bb3158 Mon Sep 17 00:00:00 2001 From: Erwin Ried <1091420+eried@users.noreply.github.com> Date: Sat, 9 May 2020 12:01:29 +0200 Subject: [PATCH] Created Splash and other images (markdown) --- Splash-and-other-images.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Splash-and-other-images.md diff --git a/Splash-and-other-images.md b/Splash-and-other-images.md new file mode 100644 index 0000000..8848ffd --- /dev/null +++ b/Splash-and-other-images.md @@ -0,0 +1,7 @@ +For converting back and forth between the image and source you can use `xxd`. In a Windows environment you can use this command in the Linux Subsystem installing one of the versions available (i.e. [Ubuntu](https://ubuntu.com/tutorials/tutorial-ubuntu-on-windows#1-overview)). + +### From .bmp to .hpp +`xxd -i input_image.bmp output.hpp` + +### From .hpp to .bmp +`xxd -r -p input.hpp output_image.bmp ` \ No newline at end of file