# if you want thumbnails generated at a different size just change this to the desired value.
MaxThumbnailSize = 150
def ScriptProperties():
return {
'Author': 'Joe Fromm',
'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved. Permission to create derivate works of this script is granted provided this copyright notice is included',
'Description': 'Make a thumbnail of the current file at a size of no larger than 150x150, preserving the aspect ratio.',
'Host': 'Paint Shop Pro 8',
'Host Version': '8.00'
}
def Do(Environment):
# compute the width and the height of image, preserving the aspect ratio