Page 1 of 1

Posted: 2006-05-01T07:25:52-07:00
by magick
Add -debug all right after 'convert' on your command line. It will help us determine where the process is hanging.

Re: convert hang up by java runtime exec

Posted: 2007-03-27T04:18:14-07:00
by siemen450
Hi,

Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("convert -density 150 /dir1/dir2/1.pdf -resize 90% -trim /dir3/dir/4.jpg");
int exitVal = process.waitFor();

i m using this code to convert. its not saying any error or its not producing result also.

Could u plz help me? how can i do this?

Thank You.

Regds.
siemen