General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
TheEvilCottonBall
Brodie Robertson
comments
Comments by "TheEvilCottonBall" (@alexandermaximilianoetken7265) on "The State Of Xorg Outside Of Linux" video.
Ran bitmap under WSL. It runs fine. The default size is 16 by 16 pixels but you can resize the canvas easily. My problem is that bitmaps saved by this program cannot be opened by other programs such as MS Paint. Bitmap itself can open the 1-bit per pixel image though.
1
@knghtbrd No, I didn't. I just assumed it would be in bmp format because the program is called bitmap. But you are right, it saves C source code. I think that is kind of cool. Imagine a modern image editor offering you to save the image as a C source file.Could be useful for embedding icons and such. But modern C23 has the option to #embed binary data directly, so it does not have to be lexed and parsed from text back to binary again (although I am still waiting for compiler support for #embed).
1
I also tried bitmap's C "parser", it fails for instance, when you explicitly type the length of the array, or if you do not declare the array as static, but you can save it as char alone, but not "signed char", it does accept whitespace in the array but not in the declaration, so make of that what you will.
1
I renamed it to .xbm, my open-source image viewer can read it, actually.
1