IM4Java Convert to 32 bit PNG
Posted: 2015-10-22T14:33:17-07:00
I am able to convert from 8 bit png to 32 bit png using the following command
convert 8BIT.png png32:32BIT.png
I need to write java code using IM4java. I have the following code but was not sure how to set the png32 indicator in the IMOperations.
convert 8BIT.png png32:32BIT.png
I need to write java code using IM4java. I have the following code but was not sure how to set the png32 indicator in the IMOperations.
Code: Select all
IMOperation op = new IMOperation();
op.addImage();
//What to add here to make it 32 bit png??
op.addImage();
convert.run(op,sourceFile,destFile);