Search in sources :

Example 1 with J2KImageReaderSpi

use of com.github.jaiimageio.jpeg2000.impl.J2KImageReaderSpi in project ddf by codice.

the class TikaInputTransformer method classLoaderAndBundleContextSetup.

private void classLoaderAndBundleContextSetup(BundleContext bundleContext) {
    if (bundleContext == null) {
        LOGGER.info("Bundle context is null. Unable to register {} as an osgi service.", TikaInputTransformer.class.getSimpleName());
        return;
    }
    registerService(bundleContext);
    IIORegistry.getDefaultInstance().registerServiceProvider(new J2KImageReaderSpi());
    IIORegistry.getDefaultInstance().registerServiceProvider(new TIFFImageReaderSpi());
}
Also used : J2KImageReaderSpi(com.github.jaiimageio.jpeg2000.impl.J2KImageReaderSpi) TIFFImageReaderSpi(com.github.jaiimageio.impl.plugins.tiff.TIFFImageReaderSpi)

Aggregations

TIFFImageReaderSpi (com.github.jaiimageio.impl.plugins.tiff.TIFFImageReaderSpi)1 J2KImageReaderSpi (com.github.jaiimageio.jpeg2000.impl.J2KImageReaderSpi)1