4.2.Image conversion with ImageMagick

Working with the intranda TaskManager allows Goobi to outsource various CPU-intensive tasks to external devices. One such scenario in the case of digitisation projects involves generating image derivatives. For example, TaskManager can be used to generate JPG images on a separate server and transfer them back automatically to Goobi without drawing on the Goobi server’s own CPU capacity.

Starting the plugin

The following instruction shows how TaskManager can be used to generate JPG images on a separate server using ImageMagick. The instruction must be incorporated into a workflow step.

/usr/bin/java -jar /opt/digiverso/itm/bin/TaskClient.jar 
    -itm http://localhost:8080/itm/service 
    -e -i {stepid} 
    -T {processtitle} 
    -t SHELL 
    -n iii-create_jpeg 
    -s {origpath} 
    -d {processpath} 
    -gid {processid}

Parameters

The command parameters are explained in the following table:

Operation of the plugin

Once the image derivative has been generated, TaskManager will automatically move the newly created files into the corresponding Goobi process folder. The successful completion of this task is recorded in the process log, and the automatic workflow step is completed via WebAPI.

Last updated