Code "Snippets" - Resizing Proportionately #2

Copyright © December, 2003 SuzShook

dot   Script Summary:

The purpose of this script is to provide code snippets that allow you to resize images proportionately. This is the second of two such scripts, and is MUCH simpler than the first script provided. This one involves no messy calculations.

If you know either the width or height of the new image, the code itself will calculate the corresponding measurement. You just need to obtain or enter the known value.

These snippets can be inserted into your scripts and are intended for use with the Resize dialog.

dot   Installation Instructions:

Download the script - this script runs from any Restricted folder, including its own Quick Guide folder.

dot   Change History:

  • 00 - original version