Example #1
0
 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);
   }
 }
Example #2
0
 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);
   }
 }