You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope you are very well in this moment and my best wishes for 2020, health and $$$$ ;-)
I am back to you regarding your repository. Nice job.
I am controlling some bitmap push button and need to generate on the fly a bitmap array each time a value parameter changed.
Bitmap structure of the push button is :
Size 64x32
Color 1 bit (Black : 0xFF, white : 0x00)
pixels are on top right corner.
And if you see the picture above, I need to reverse the bits.
Use case 1 . generating bitmap array of byte (here 256 bytes) with 1 till 4 lines
with possible auto size, position (x,y) ,wrap, space between lines, ... and be possible to invert for each line separately the background .
Use case 2 : generating bitmap array from a picture loaded from file bmp, png, jpeg, ... and generate the bitmap array as specified above with resige to 64x32 if possible keeping aspect ratio.
I appreciate if you could help me for this purpose or route me to to the correct way.
My Best Wishses for your family and enjoy live
Youssef
The text was updated successfully, but these errors were encountered:
Hello there. I'm very sorry, but what you are asking is entirely beyond the capabilities of this library. CanvasPlus is merely a wrapper around the HTML5 Canvas object, adding some high-level features. What you need, I think, is a low-level image library that gives you access to the raw bytes. Maybe try something like Sharp?
Dear @jhuckaby
I hope you are very well in this moment and my best wishes for 2020, health and $$$$ ;-)
I am back to you regarding your repository. Nice job.
I am controlling some bitmap push button and need to generate on the fly a bitmap array each time a value parameter changed.
Bitmap structure of the push button is :
Size 64x32
Color 1 bit (Black : 0xFF, white : 0x00)
pixels are on top right corner.
And if you see the picture above, I need to reverse the bits.
Use case 1 . generating bitmap array of byte (here 256 bytes) with 1 till 4 lines
Use case 2 : generating bitmap array from a picture loaded from file bmp, png, jpeg, ... and generate the bitmap array as specified above with resige to 64x32 if possible keeping aspect ratio.
I appreciate if you could help me for this purpose or route me to to the correct way.
My Best Wishses for your family and enjoy live
Youssef
The text was updated successfully, but these errors were encountered: