It is possible to find tolerance of selected path ...?
Thanks is advance.
What is the Tolerance of a Path supposed to be?
If you mean the Tolerance set when using »Make Work Path« then I don’t see how that subsequently irrelevant information could be stored with the Path.
If one had the original Selection it might be possible to determine the original setting by comparing the results of the various settings with the existing Path.
Your question does not seem to make sense. At least to me.
A PathItem itself has no »Tolerance«, that’s just a setting one uses when letting Photoshop create a Work Path based on a Selection.
Could you post some screenshots or the like to illustrate your point?
As far as I understand a (Work) Path simply has no »Tolerance«-setting; once it has been created it is just a Path and that’s it.
As mentioned above it should be possible to determine the setting if the Selection/Channel is still available and the Path has not been manually edited after creation via »Make Work Path«, but that would probably be a somewhat slow task.
So one way to compare would be to make a new work path with some arbitrary tolerance (0?) and then try to figure out some mathematical formula to compare the path points of the existing and new paths. But that sounds quite difficult.
What is the ultimate purpose of knowing the tolerance setting used? Perhaps with some idea about the context, commenters here could suggest other approaches that might avoid the need for explicitly finding the tolerance.
I would rather proceed like this:
Create a Work Path with the lowest setting, compare number of SubPathItems and PathPoints, if larger try next setting etc.
To accelerate possibly only try full numbers first and try to pinpoint numbers behind the comma later on.