API or plugin for imagemagick
Posted: 2011-11-09T12:28:44-07:00
Hi
I was wondering if someone can help me with this. I am trying to use some of the feature that imagemagick offers such as "convert -resize ..."
and etc from WITHIN my application.
Currently the way I do it is that I launch a process and the imagemagick command is passed to it and get executed.
for example :
Process p = Runtime.getRuntime().exec("convert -resize 300x250");
This works just fine except that it is very slow for obviouse reasons (launching and executing an external process ... )
Is there any way that I can impart only some functionalities from imagemagick (like an API or plugin ) to my program so that it
becomes part of my code to avoid making external calls.
Thanks
Paulo
I was wondering if someone can help me with this. I am trying to use some of the feature that imagemagick offers such as "convert -resize ..."
and etc from WITHIN my application.
Currently the way I do it is that I launch a process and the imagemagick command is passed to it and get executed.
for example :
Process p = Runtime.getRuntime().exec("convert -resize 300x250");
This works just fine except that it is very slow for obviouse reasons (launching and executing an external process ... )
Is there any way that I can impart only some functionalities from imagemagick (like an API or plugin ) to my program so that it
becomes part of my code to avoid making external calls.
Thanks
Paulo