public void resizeFix(File srcFile, File destFile, int boxWidth, int boxHeight) throws Exception { if (isMagick) { MagickImageScale.resizeFix(srcFile, destFile, boxWidth, boxHeight); } else { AverageImageScale.resizeFix(srcFile, destFile, boxWidth, boxHeight); } }
public void imageMark( File srcFile, File destFile, int minWidth, int minHeight, int pos, int offsetX, int offsetY, File markFile) throws Exception { if (isMagick) { MagickImageScale.imageMark( srcFile, destFile, minWidth, minHeight, pos, offsetX, offsetY, markFile); } else { AverageImageScale.imageMark( srcFile, destFile, minWidth, minHeight, pos, offsetX, offsetY, markFile); } }
public void imageMark( File srcFile, File destFile, int minWidth, int minHeight, int pos, int offsetX, int offsetY, String text, Color color, int size, int alpha) throws Exception { if (isMagick) { MagickImageScale.imageMark( srcFile, destFile, minWidth, minHeight, pos, offsetX, offsetY, text, color, size, alpha); } else { AverageImageScale.imageMark( srcFile, destFile, minWidth, minHeight, pos, offsetX, offsetY, text, color, size, alpha); } }