implementation of external tool for image comparison