from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2004 Jasc Software, Inc.  All rights reserved.',
        'Description': u'',
        'Host': u'Paint Shop Pro 9',
        'Host Version': u'9.00'
        }

def Preset_PerspectiveTransform():
    return {
        'CropImage': False, 
        'GridLines': 0, 
        'Handle1': (0.173584,0.106445), 
        'Handle2': (0.896729,0.131185), 
        'Handle3': (0.917236,0.845378), 
        'Handle4': (0.117432,0.802409), 
        'BackgroundMaterial': None, 
        'ForegroundMaterial': None, 
        'GeneralSettings': {
            'ExecutionMode': App.Constants.ExecutionMode.Default, 
            'AutoActionMode': App.Constants.AutoActionMode.Match
            }
        }

def Do(Environment):
    # PerspectiveCorrection
    App.Do( Environment, 'PerspectiveTransform',         Preset_PerspectiveTransform())

