Zum Hauptinhalt gehen

Support for base64 image url?



3 Kommentare

  • Offizieller Kommentar
    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.


  • Laurens van der Burgt

    Thanks, that is exactly what I needed!

  • 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.



Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.