I am using im4java in my project for various image processing techniques such as cropping, resizing, filling and rotating. Before this I was using the java.lang.Runtime.exec
to run commands in the command prompt. Now when I bench marked the two methods, they almost gave the same result! I don't need the parallel processing feature of the im4java
, because the output of one process is the input of the other, hence sequential. In my case, it provides just one advantage: ease of use. And that's all.
Do you think I am missing something or lacking somewhere in my code? Any suggestions would be of great help. Thanks in advance!