IMOperation.density takes int as arguments, which is not a case. To pass double argument use:
double density = 144.65;
imOperation.addRawArgs( "-density", String.format( "%1.1f", density) );
double density = 144.65;
imOperation.addRawArgs( "-density", String.format( "%1.1f", density) );
No comments :
Post a Comment