JPEG decoding from JSON expert required 😅

Hello Bubblers!

I have a visual-element returning a JSON with a JPEG encoded image in an indexed-object (yes, you read it right).

Now the big question: how to display the image ? :grimacing:

Format is as follow:

{
   "encodedImage":{
      "0":255,
      "1":216,
      ...
      "13151":216,
      "13152":255,
      "13153":217
   }
}

Pastebin of full JSON sample:
{ "encodedImage":{ "0":255, "1":216, "2":255, "3 - Pastebin.com

1 Like

Is that pixel by pixel? :laughing:

Yes. Any idea?

Do you know the images intended height and width when you get this endcoded bit of info?

Do you have more info on the encoding itself ?