Interface ImageConverter


  • public interface ImageConverter
    Specifies the interface which must be implemented by an image converter created by an ImageConverterFactory.

    The implementation of this interface must be thread-safe, though an image converter is never reused or shared between different threads.

    • Method Detail

      • convertImage

        void convertImage​(File inFile,
                          File outFile)
                   throws Exception
        Convert specified input image file to specified output image file. Specified image files have different filename extensions. These filename extensions specify respectively the input image format and the output image format.
        Parameters:
        inFile - the input image file
        outFile - the output image file
        Throws:
        Exception - if for any reason this method fails