https://github.com/lennart1978/byteslice
Convert images to Byteslice and attach it to a .go file
https://github.com/lennart1978/byteslice
Last synced: 7 months ago
JSON representation
Convert images to Byteslice and attach it to a .go file
- Host: GitHub
- URL: https://github.com/lennart1978/byteslice
- Owner: Lennart1978
- License: mit
- Created: 2023-09-23T10:13:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T01:52:57.000Z (almost 2 years ago)
- Last Synced: 2025-01-10T02:43:02.688Z (9 months ago)
- Language: Go
- Size: 321 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Byteslice
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.