1) Import this image into gimp
2) create new image, same size, with black background
3) copy paste skull onto black background, anchor layer
4) set image mode to indexed, black and white
5) export as .data file (Standard (R, G, B); B, G, R, X (BMP style))
(save exported file in the same folder as the working .g database)
6) mged> in ebm1.s ebm had_logo.data 870 794 5
7) mged> l ebm1.s
Output:
ebm1.s: extruded bitmap (EBM)
file="had_logo.data" w=870 n=794 depth=5
mat=1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.