pljava must be headless for image handling functions