I'm writing a effect plugin manipulating images in different ways and make a version of each. But I'm not able to get current filename of original image so I can save the different versions of the image related to the original image.
Is there somehow a way to retrieve the current filename?