I am writing a java utility which will convert jbig images into png format. I am using jmagick api which is an open source Java interface of ImageMagick. I did't find any compare function api in jmagick so I am unable to call ImageMagick's compare command using this [jmagick][3]. Can anybody give me any other workaround instead of calling directly from java using Runtime.exec() method. Thanks in advance