This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JavaFX and the fly likes Embedding encoded image in .FXML file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JavaFX
Reply Bookmark "Embedding encoded image in .FXML file" Watch "Embedding encoded image in .FXML file" New topic
Author

Embedding encoded image in .FXML file

Matteo Murgida
Greenhorn

Joined: Jul 18, 2012
Posts: 1
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!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Embedding encoded image in .FXML file
 
Similar Threads
Three questions about images
problem with image rotation in android
CDATA BASE64
more than time line
Need coding help