Convert images to a byteslice and attach it to a .go file.For demonstration the program opens an embedded .jpg image and shows it in a window.Please don't try to browse the code of main.go on this website !The whole .jpg image is attached on main.go, the website will crash and the app too !
Usage: The program will ask for the image and .go file.After that it attaches your image as byteslice on your .go file.That's it !
You can use my "showImage" function to test your embedded image data.