Add wrapper  for use perceptualdiff as a library