The doc.pathItems.add() and line.strokePath() scripting commands have inconsistent results with document resolution setting.
In a for loop I create a pathitem line, stroke it, then delete the path. I may do this several hundred times in the loop.
It works fine when the document resolution is low like 72. As the resolution increases, not all lines are painted within the document.
I've observed the line actually painted within the photoshop window outside of the image. At 300 resolution, only about 1/4 of the lines
actually get painted on the document. I've used the waitforredraw (or something like that) function from the adobe js scripting reference
document but it had no affect on the problem.
Any help is appreciated.
Europe, Middle East and Africa