-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image flicker on FILLPATTERN from base64 string #62
Comments
Hello rejuce, If the update script does not work for you, try to reinstall Streamsheets with the new installer. I hope this helps, Tizian |
ok I tried the following unfortunetely no change, still flickering the iamges I use are roughly 700x150px . How large are the ones in your test? |
The ones in my example video are pretty small. One was 604x340 and the other 500x630 and I also tried exactly 700x150. |
exported attached (renamed it form .json to .txt so github accepts it) here are a few of the base64 encoded .png images: one: two: three: |
Thank you that helped. |
Description
I receive a small .png image as MQTT payload encoded as base64 string. I want to display that image inside a sheet
Steps to Reproduce
receive mqtt payload abse64 encoded png into cell G3
=READ(INBOXDATA(,,"value"),G3,"String",,FALSE)
prepend "data:image/png;base64, to it and set it as fillpattern on a rectangle
=DRAW.RECTANGLE("523506426300","Rectangle10","Rectangle9",7078,2699,14155,4763,,FILLPATTERN(CONCAT("data:image/png;base64,",G3)))
launch sheet and process messages, tried time based and msg based
Expected behavior:
newly incoming image overwrites current image flawlessly
Actual behavior:
before the old image is overwritten, it is replaced by a white image, regardles sof the set background, or another colored shape behind
Reproduces how often:
continously
Versions
2.2 - even when I launch the update.sh script, thats the version I get
just look at the small videoclip
top image hase a black rectangle behind, bottom one diretly on sheet
https://user-images.githubusercontent.com/28755821/124262422-54a6d700-db32-11eb-9e0d-415937573712.mp4
The text was updated successfully, but these errors were encountered: