Skip to main content

Support for base64 image url?

Answered

Comments

3 comments

  • Official comment
    Ryan Cooney

    Hi Laurens,

    You can do this by setting an expression on the Image Source property of the PictureBox control with a built-in function called Base64Decode. It'll look like this:

    Note: you don't include the "data:image/png;base64," preamble if your base64 source is a data URL.

    --Ryan

  • Laurens van der Burgt

    Thanks, that is exactly what I needed!

    0
  • Ryan Cooney

    A small update on this. In the upcoming 5.17 release the Base64Decode function will automatically detect and strip off the "data:image/png;base64," preamble from the value you provide it so that you can more easily use data URLs.

    --Ryan

    0

Please sign in to leave a comment.