tuhinshubhra / bmparray Goto Github PK
View Code? Open in Web Editor NEWBitmap Array Generator
Home Page: https://tuhinshubhra.github.io/bmparray/
Bitmap Array Generator
Home Page: https://tuhinshubhra.github.io/bmparray/
Dear @Tuhinshubhra
Nice tool.
It will be great if we could define the size of the array in two dimensions when generating the array.
like this :
My bitmap has a size of (64x32) 1bit resolution
To get in binary and/or hex value the array.
bitmap_[32][8] =
{
{ 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111 }, //Line #1
{ 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111 }, //Line #2
{ 0b11111111, 0b11111111, 0b11111111, 0b11110000, 0b00001111, 0b11111111, 0b11111111, 0b11111111 }, //Line #3
{ 0b11111111, 0b11111111, 0b11111111, 0b00000000, 0b00000001, 0b11111111, 0b11111111, 0b11111111 }, //Line #4
{ 0b11111111, 0b11111111, 0b11111100, 0b00000000, 0b00000000, 0b01111111, 0b11111111, 0b11111111 }, //Line #5
{ 0b11111111, 0b11111111, 0b11111000, 0b00000000, 0b00000000, 0b00111111, 0b11111111, 0b11111111 }, //Line #6
{ 0b11111111, 0b11111111, 0b11110000, 0b00000000, 0b00000000, 0b00011111, 0b11111111, 0b11111111 }, //Line #7
{ 0b11111111, 0b11111111, 0b11100000, 0b00000000, 0b00000000, 0b00001111, 0b11111111, 0b11111111 }, //Line #8
{ 0b11111111, 0b11111111, 0b11000000, 0b00000000, 0b00000000, 0b00000111, 0b11111111, 0b11111111 }, //Line #9
{ 0b11111111, 0b11111111, 0b10000000, 0b01000000, 0b00000100, 0b00000011, 0b11111111, 0b11111111 }, //Line #10
{ 0b11111111, 0b11111111, 0b10000000, 0b11100000, 0b00001110, 0b00000011, 0b11111111, 0b11111111 }, //Line #11
{ 0b11111111, 0b11111111, 0b00000001, 0b11110000, 0b00011111, 0b00000001, 0b11111111, 0b11111111 }, //Line #12
{ 0b11111111, 0b11111111, 0b00000000, 0b11100000, 0b00001110, 0b00000001, 0b11111111, 0b11111111 }, //Line #13
{ 0b11111111, 0b11111110, 0b00000000, 0b01000000, 0b00000100, 0b00000000, 0b11111111, 0b11111111 }, //Line #14
{ 0b11111111, 0b11111110, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b11111111, 0b11111111 }, //Line #15
{ 0b11111111, 0b11111110, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b11111111, 0b11111111 }, //Line #16
{ 0b11111111, 0b11111110, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b11111111, 0b11111111 }, //Line #17
{ 0b11111111, 0b11111110, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b11111111, 0b11111111 }, //Line #18
{ 0b11111111, 0b11111111, 0b00000000, 0b00000000, 0b00000000, 0b00000001, 0b11111111, 0b11111111 }, //Line #19
{ 0b11111111, 0b11111111, 0b00000000, 0b00000000, 0b00000000, 0b00000001, 0b11111111, 0b11111111 }, //Line #20
{ 0b11111111, 0b11111111, 0b10000000, 0b00000000, 0b00000000, 0b00000011, 0b11111111, 0b11111111 }, //Line #21
{ 0b11111111, 0b11111111, 0b10000001, 0b10000000, 0b00000011, 0b00000011, 0b11111111, 0b11111111 }, //Line #22
{ 0b11111111, 0b11111111, 0b11000001, 0b11100000, 0b00001111, 0b00000111, 0b11111111, 0b11111111 }, //Line #23
{ 0b11111111, 0b11111111, 0b11100000, 0b11111111, 0b11111110, 0b00001111, 0b11111111, 0b11111111 }, //Line #24
{ 0b11111111, 0b11111111, 0b11110000, 0b00011111, 0b11110000, 0b00011111, 0b11111111, 0b11111111 }, //Line #25
{ 0b11111111, 0b11111111, 0b11111000, 0b00000000, 0b00000000, 0b00111111, 0b11111111, 0b11111111 }, //Line #26
{ 0b11111111, 0b11111111, 0b11111100, 0b00000000, 0b00000000, 0b01111111, 0b11111111, 0b11111111 }, //Line #27
{ 0b11111111, 0b11111111, 0b11111111, 0b00000000, 0b00000001, 0b11111111, 0b11111111, 0b11111111 }, //Line #28
{ 0b11111111, 0b11111111, 0b11111111, 0b11100000, 0b00001111, 0b11111111, 0b11111111, 0b11111111 }, //Line #29
{ 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111 }, //Line #30
{ 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111 }, //Line #31
{ 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111 }, //Line #32
};
Best Regards,
Dear @Tuhinshubhra
Nice tool.
My bitmap has a size of (64x32) 1bit resolution and if rotate -90° then I will get an array with size (32x64).
Possible value should be 'Rotate' -90, -180, -270, 90,180, 270
Best Regards,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.