it is possible prenvent " * " modification image, near name, when plugin read only input data ?
I don't change nothing in the image, I just read pixel data from FilterRecord::inData.
I can't use this way. I try to explain my problem, I have an automation plugin that use a filter plugin to get some data from an image. If userCanceledErr error is returned from filter plugin, I can't retrieve data from descriptor in automation plugin. Can I use a tip to prevent "*" modification image ? Should I use an other kind of plugin instead filter ?
How is it getting the data from the auto to the filter and back? Via the result descriptor it seems but how? You could use the Photoshop registry (See PIActions.h) or pass a pointer created in the auto plug-in and let the filter plug-in fill it in. They are in the same process so it will work. Just don't create the memory in the filter plug-in.
I would recommend the Photoshop registry unless you are passing around image data. Which I would not advise either. If you are doing that then try to do all the pixel data work in the filter and only pass what you need back to the auto plug in.