Issue in getImageWritersByFormatName for Tiff. Getting image writer

后端 未结 2 482
日久生厌
日久生厌 2021-01-25 11:47

I am trying to convert PDF to tif images. I use following code to get the image writers by format.

Iterator writers = ImageIO.getImageWritersB         


        
2条回答
  •  一整个雨季
    2021-01-25 12:08

    Tiff support is provided by the Java Advanced Imaging plugin jai_core.jar.

    In order to work correctly, the jar file needs to be added to the JVM's ext directory, otherwise it won't register properly

提交回复
热议问题