java.lang.Object
org.libheiffx.HEIFImageLoaderFactory
- All Implemented Interfaces:
com.sun.javafx.iio.ImageLoaderFactory
Class to install the TIFF renderer to the javafx image systems
- Author:
- selfemp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.sun.javafx.iio.ImageLoadercreateImageLoader(InputStream input) com.sun.javafx.iio.ImageFormatDescriptionstatic final com.sun.javafx.iio.ImageLoaderFactorystatic final voidinstall()Main method to install the image handler to support any loading of images with the Image classstatic final voidMain method to install the image handler to support any loading of images with the Image classstatic final voidinstall(org.librawfx.dimension.DimensionProvider dimensionProvider)
-
Constructor Details
-
HEIFImageLoaderFactory
public HEIFImageLoaderFactory()
-
-
Method Details
-
install
Main method to install the image handler to support any loading of images with the Image class- Parameters:
tempdir- the directory to specify where the native libs are extracted. Import on OSX because there is a bug on Apple side preventing using the temporary directory
-
install
public static final void install()Main method to install the image handler to support any loading of images with the Image class -
install
public static final void install(org.librawfx.dimension.DimensionProvider dimensionProvider) -
getInstance
public static final com.sun.javafx.iio.ImageLoaderFactory getInstance() -
getFormatDescription
public com.sun.javafx.iio.ImageFormatDescription getFormatDescription()- Specified by:
getFormatDescriptionin interfacecom.sun.javafx.iio.ImageLoaderFactory
-
createImageLoader
- Specified by:
createImageLoaderin interfacecom.sun.javafx.iio.ImageLoaderFactory- Throws:
IOException
-