Join Slack
Powered by
i have a String with bytes as hex (an jpeg or png ...
# compose-desktop
z
Zoff
12/27/2023, 8:37 AM
i have a String with bytes as hex (an jpeg or png file as hexbyte data), and i want to convert that into an image and display it. how can i do that easily?
a
Alexander Maryanovsky
12/27/2023, 11:26 AM
Convert it to a byte array
, wrap it in a
ByteArrayInputStream
and then use
loadImageBitmap
👍 1
👍🏻 1
z
Zoff
12/27/2023, 12:14 PM
thanks that worked super
5
Views
Open in Slack
Previous
Next