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.
Thanks for your reply. we have facing some issue on tolerance. that's why i ask is it possible.?
Thanks for your support.
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?
Has the Selection been stored?
The Path itself is just a Path, no »Tolerance«.
A clipping path does not have a Tolerance but a Flatness… Try setting to some value like 10 and place in something…
Has the Selection been stored? // Yes Stored in Alpha Channel.
I'm asking about only normal path.
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.