renamings
[mir.git] / source / mir / media / image / ImageMagickImageProcessor.java
index ac851ad..c538d18 100755 (executable)
@@ -34,7 +34,7 @@ import mir.log.LoggerWrapper;
 import mir.media.MediaExc;
 import mir.media.MediaFailure;
 import mir.util.StreamCopier;
-import mir.util.ExecFunctions;
+import mir.util.ShellRoutines;
 import mir.config.MirPropertiesConfiguration;
 
 import java.io.*;
@@ -148,7 +148,7 @@ public class ImageMagickImageProcessor implements ImageProcessor {
      */
     public void readInfo() throws IOException {
       checkFile();
-      String infoString = ExecFunctions.execIntoString
+      String infoString = ShellRoutines.execIntoString
           (getImageMagickPath() +
               "identify " + "-format \"%w %h %m %n \" " + 
               file.getAbsolutePath()); // extra space, for multiframe (animations)              
@@ -169,7 +169,7 @@ public class ImageMagickImageProcessor implements ImageProcessor {
           Float.toString(aScalingFactor * 100) + "% " +
           result.file.getAbsolutePath();
       logger.debug("ImageFile.scale:command:" + command);
-      ExecFunctions.simpleExec(command);
+      ShellRoutines.simpleExec(command);
       result.readInfo();
       return result;
     }
@@ -332,7 +332,7 @@ public class ImageMagickImageProcessor implements ImageProcessor {
           scaledImage.file.getAbsolutePath() + frame + " " +
           anImageType + ":" + temp.getAbsolutePath();
       logger.debug("writeScaledData command:" + command);
-      ExecFunctions.simpleExec(command);
+      ShellRoutines.simpleExec(command);
       // copy temp file into stream
       StreamCopier.copy(new FileInputStream(temp), aStream);
       temp.delete();