getImageWritersByFormatName doesn't give proper values

52 views
Skip to first unread message

rini rachel

unread,
Dec 10, 2014, 1:49:30 AM12/10/14
to tesser...@googlegroups.com

Iterator writers = ImageIO.getImageWritersByFormatName(TIFF_FORMAT);

    if (!writers.hasNext()) {
        throw new RuntimeException(JAI_IMAGE_WRITER_MESSAGE);
    }

net.sourceforge.tess4j.TesseractException: java.lang.RuntimeException: Need to install JAI Image I/O package. Exception is thrown because of hasNext(). The same web application works in my mac machine, but not on an ubuntu machine. I am using tomcat server. Any help?

Reply all
Reply to author
Forward
0 new messages