AJClock AJPopup Icon CommandLine Favourites Window FixWAV FunctionPtrs Q2 mini-mod Indexer Map Studio mIRCplugin SourceParser Time Monitor TVTicker webplugin Whistler

AutoSize

Summary This is a small program knocked up in one day to allow easy resizing of all jpegs in a directory for easy thumbnailing on the web.

Download and Installation
Download AutoSize 1.4

Unzip these files into a directory (eg c:\Program Files\AutoSize\). You may wish to create a shortcut to this in the send-to menu, in the start menu, or on the desktop. When you first run AutoSize it will allow you to create these shortcuts automatically.

Options
screenshot

The dialog is reasonably self explanitary, but a few things may not be obvious, so here is a breakdown of the options:

Percentage
when this option is selected, both dimentions of the image are reduced to this percentage of the original size.
Width
this resizes the image to be width pixels wide, but preserves the aspect ratio, so resizes height accordingly.
Size
this resizes the image to the size given. If the image has a height that is bigger than the width it switches the width and height (ie, auto-recognises portrait orientated images).
name prefix/suffix
either append a string onto the end of the filename (before the .jpg) or before the start. If you wish this can be a directory to put the images (eg prefix with "thumbs\") If this field is blank it will overwrite the original image - so be careful!
path to images
directory where the images to resize can be found - note that this is not recursive, so will only do images directly in this directory. Pressing the "Browse" button allows you to select the directory using the file open dialog - note that it doesnt matter which file is selected, all images in the directory will be resized.
All settings are stored in the registry when closing the application, and read from the registry when starting.

Command Line If the application is launched with a path on the command line (either quoted, or not) then this is set as the default image path. If the "always open" checkbox has been cleared, AutoSize will imediately resize the images - if it is cleared, then autosize will open up the dialog.

An easy way of doing this is to place a shortcut to AutoSize in the "send to" menu, or to place it on the desktop and drag a folder to the icon.

Credits JPEG decoder is (c) Intel
Image resizing code is by Eran Yariv
All remaining code by Anthony Jacques