title: SwingFXUtils alternative for Image serialization (Javafx, Swing, Raspberry Pi)
body: <p>One of the use cases of my JavaFX application is to load an image on one side, serialize it over a TCP socket to show it as JavaFX image on the other side. </p>
  
  <p>To implement this I am using <code>SwingFXUtils.fromFXImage()</code> and <code>SwingFXUtils.toFXImage()</code> to create and read a <code>BufferedImage</code> which can be serialized.</p>
  
  <p>Everything is working. But I would like to run the displaying side on a raspberry pi. As I found out, there is no integration of Swing components in JavaFX on ARM, so I get a <code>NoClassDefFoundError</code> when using <code>SwingFXUtils</code> on a <code>Raspi</code>.</p>
  
  <p>Please suggest how I can create and read a serializable image object without the use of <code>SwingFXUtils</code>?</p>