from JascApp import *

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

def Preset_BlackAndWhite():
    return {
        'BlackPoint': (0,0,0), 
        'GreyPoint': (128,128,128), 
        'WhitePoint': (255,255,255), 
        'BlackDest': (64,64,64), 
        'GreyDest': (224,169,98), 
        'WhiteDest': (255,255,192), 
        'BalanceGrey': App.Constants.Boolean.false, 
        'PreserveLightness': App.Constants.Boolean.false, 
        'UseBlackPoint': App.Constants.Boolean.true, 
        'UseGreyPoint': App.Constants.Boolean.true, 
        'UseWhitePoint': App.Constants.Boolean.true
        }

def Do(Environment):
    # Black and White Points
    App.Do( Environment, 'BlackAndWhite',         Preset_BlackAndWhite())

