Code "Snippets" - Resizing Proportionately
Copyright © September, 2003 SuzShook
The purpose of this script is to provide code "snippets" that allow you to resize images proportionately. In other words, if you want to resize an image to a specific width within a dialog, the snippets in this script will calculate the corresponding height so the resulting image will have the same aspect ratio as the original image. Similarly, if you want to resize an image to a specific height, this code will calculate the correct width.
These snippets can be inserted into your scripts and are intended for use with the Resize dialog.
Download the script - this script runs from any Restricted folder, including its own Quick Guide folder.
- 00 - original version