Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Embedding encoded image in .FXML file

Matteo Murgida
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I would like to embed an encoded image into an FXML (i need this in that I'm coding a converter between svg and fxml).
I tried with this:

As you can see I used the standard way I would do with HTML or CSS, passing a data url with the Base64 encoding of the image.
In this case it does not return any error, but the image is not displayed (passing a url to the same image as a file works, but this is not what I want).

Can somebody help me?

Thank you very much!
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic