Quantcast
Channel: Adobe Community : Unanswered Discussions - General and cross-application scripting
Viewing all articles
Browse latest Browse all 84

doc.pathItems.add and line.strokePath inconsistent with document resolution

$
0
0

Applicaton: CS5 and javascript

 

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.

 

Thanks!

 

Ray


Viewing all articles
Browse latest Browse all 84

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>