checkFile();
String infoString = ExecFunctions.execIntoString
(getImageMagickPath() +
- "identify " +
- file.getAbsolutePath() + " " +
- "-format \"%w %h %m %n \"");// extra space, for multiframe (animations)
+ "identify " + "-format \"%w %h %m %n \" " +
+ file.getAbsolutePath()); // extra space, for multiframe (animations)
StringTokenizer st = new StringTokenizer(infoString);
width = Integer.parseInt(st.nextToken());
height = Integer.parseInt(st.nextToken());