JavaImageEditor - encodes image path