# Set output image preferences OutputWidth=720 OutputHeight=540 BorderWidth=20 ThumbnailWidth=150 SeparatorWidth=10 from JascApp import * def ScriptProperties(): return { 'Author': u'Andrew John Hardwick, 2004/4/3-5', 'Copyright': u'GPL', 'Description': u'Show corners against black to check cropping', 'Host': u'Paint Shop Pro', 'Host Version': u'8.10' } def Do(Environment): # EnableOptimizedScriptUndo App.Do(Environment,'EnableOptimizedScriptUndo',{}) # Get image size ImageInformation=App.Do(Environment,'ReturnImageInfo') Width=ImageInformation['Width'] Height=ImageInformation['Height'] # Rotate portrait to landscape to fit screen better if Width