Hi!
I need an extension, that can convert any image to monochrome bitmap. I have zero experience in java. Basically, I will upload an image, that will get converted into bitmap string, that I will send to esp32 in chunks, and it will display on a oled or ePaper.
Hi @RaYzZz, thanks a lot for your reply. To transfer an image to microcontroller, it need to be converted into string (base64, BMP are the popular one). I have already tried converting into base64 with the help of KIO4_Base64, but there are certain limitations with the Library that I have been using on ESP32 to convert back to image from base64 (mainly memory related, as it has only 520kb of RAM).
So the easiest way for me to go with raw 1 bit BMP.
I will try to figure out using web APIs & JS as you mentioned.
@_Ahmed Just tried your extension, and honestly I loved it!
Very much helpful and it is really nice to see you have implemented floyd steinberg dithering; that reduces the work load on ESP32. Really nice work!
Hi @_Ahmed sorry for the late reply. It would be really great if you add those features as well! For now I am already using TaifunImage for other task in the app, so I am resizing with it only. Also ur extensions ‘targetWidth & Height’ is already enough, but it’s gonna be amazing if u can add Preview image return and scaling options (fit fill stretch).
And also if you need any help in hardware & microcontroller side stuffs, feel free to connect with me.