Hi I am trying to create a workflow similar to Dam update asset as it's creating renditions using ImageMagick
Using the following code (code snippet from DamUpdateAsset)
String cmd = argument.substring(Arguments.COMMANDS.getArgumentPrefix().length()).trim();
CommandLine commandLine = CommandLine.parse(cmd, parameters);
lastLine = commandLine.toString();
DefaultExecutor exec = new DefaultExecutor();
exec.setWorkingDirectory(tmpDir);
this.log.info("execute: executing command line [{}] for asset [{}].", lastLine, asset.getPath());
exec.execute(commandLine);
but when i was trying to convert a .ai file to .jpeg it's says invalid parameter that meants it's not using IM. if check installation directories (c:/programfiles) there is no IM installation files
Then How Damupdate asset is able to execute convert command ?
Views
Replies
Total Likes