imageview - Loading .tif / .tiff with fxml/javafx -
how can load .tif fxml or javafx ?
i tried this:
<imageview> <image> <image url="@bsp.tif"/> </image> </imageview> but no response @ all.
thanks in advance,
zombie
tiff image loading not supported javafx 2.2 image class.
to load tiff javafx, need to:
- load image using library, such java advanced imaging (jai) imageio.
- the image loading library create swing buffered image.
- you can convert swing
bufferedimagejavafximageformat, using swingfxutils.tofximage.
likely, better convert tiff different format using external tool such photoshop rather read tiff in java , convert javafx image.
rt-6038 - native support tiff images in javafx scheduled implementation in post initial java 8 release.
Comments
Post a Comment