Package com.xmlmind.w2x.docx.image
Interface ImageConverter
-
public interface ImageConverterSpecifies the interface which must be implemented by an image converter created by anImageConverterFactory.The implementation of this interface must be thread-safe, though an image converter is never reused or shared between different threads.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconvertImage(File inFile, File outFile)Convert specified input image file to specified output image file.
-
-
-
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 fileoutFile- the output image file- Throws:
Exception- if for any reason this method fails
-
-