Skip to content

Instantly share code, notes, and snippets.

@ricecake-dump
Created November 27, 2018 10:10
Show Gist options
  • Save ricecake-dump/64de052dd7a6336d63570cee0027f65a to your computer and use it in GitHub Desktop.
Save ricecake-dump/64de052dd7a6336d63570cee0027f65a to your computer and use it in GitHub Desktop.
public static void convert(String input,String output)
{
try{
IMOperation img=new IMOperation();
img.enhance();
img.strip();
img.addImage(input);
img.addImage(output);
ConvertCmd convert=new ConvertCmd();
convert.run(img);
}
catch(Exception e)
{
log.error(e.getMessage());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment