convert hang up by java runtime exec
Re: convert hang up by java runtime exec
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
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