PictScale
What is it?
PictScale is a program to batch scale a series of pictures. It will either
scale them all to the same size, or all by the same percentage. I wrote it
to mainly maintain the thumbnails of my daughter's site.
Essentially because I am lazy and hate doing the same things over and over again.
Installation
Simple. Unzip the program file and put it somewhere on your computer.
How to Use (simple version)
Pretty straightforward.
- Select the source folder.
- Select the destination folder.
- Enter a file name suffix if the source and destination folders are the same.
- Set the scaling options.
- Press 'Start'.
How to Use (detailed version)
Folder Options
- Source Folder
- Location of the original images to scale. These images are then
loaded into the image list where individual ones may be selected or
deselected.
- Destination Folder
- Location where the scaled images are placed. If this is the same
as the Source Folder, then using the File Name Suffix is recommended
so that the original images are not overwritten.
- File Name Suffix
- If supplied, this suffix is appended to the original image's
filename. For example, if File Name Suffix is _th and the original
image's name is b0gus.jpg, then the scaled image's name will be
b0gus_th.jpg.
- Overwrite Existing Files
- If enabled, any images in the destination folder that have the same
file name as the scaled one will be overwritten. If disabled, those
images with the same name will be skipped.
- Start
- Press to start scaling images. While running, this button changes
to 'Stop' allowing the scaling to be aborted.
- About
- Displays the obligatory program credits.
|
Scaling Options
- Fixed Scaling
- When fixed scaling is enabled, all of the images are scaled
to the same size regardless of their original size and
aspect ratio.
- Scale by Percentage
- When scale by percentage is enabled, all of the images are
scaled by the proportions specified in Width and Height.
For example, if the original image is 640x480 and Width and Height
are set to 50x50, the new image will be 320x240.
- Width & Height
- If fixed scaling is enabled, these represent the absolute size
in pixels of the scaled images regardless of their original size.
If scale by percentage is enabled, then these represent the proportions
by which the original image is scaled.
- Auto Rotate Vertical Images
- If enabled, vertical images (those whose width is less than their
height) are automatically rotated 90° counter clockwise. This
can be used to maintain the original image's aspect ratio when using
fixed scaling. This is mutually exclusive with Auto Rotate
Horizontal Images.
- Auto Rotate Horizontal Images
- If enabled, horizontal images (those whose width is greater than their
height) are automatically rotated 90° counter clockwise. This
can be used to maintain the original image's aspect ratio when using
fixed scaling. This is mutually exclusive with Auto Rotate
Vertical Images.
|
Image List and Preview
Provides a list of all the images found in the Source Folder. Individual
images may be selected/deselected from this list. Images that are not selected will not be scaled nor will they be included in the HTML table output. The red check and X buttons above the image list select all/deselect all the images respectively. Highlighting an image in the list will show it in the preview pane.
The progress bar below the image list indicates the status of the batch scaling once it is started.
|
|
|
HTML Table Options
The Table Attributes, Row Attributes and Cell Attributes sections each control
the inclusion of their corresponding tag attributes to the TABLE, TR and TD
tags. An attribute is only included when a value is present. The only exception is the caption option for the table attributes. If a caption
is specified, then the table tag will be followed by a caption tag with the
given value.
The image options section controls how each individual table cell is
generated and the structure of the overall table.
- Use Source/Destination Paths
- When enabled, the entire location of the original and scaled images
is used within the IMG and HREF tags.
- Original Image Path
- Only available when Use Source/Destination Paths is disabled.
If present, this value will be prepended to the filename of the
original image. For example if the original file name is
C:\TEMP\b0gus.jpg and Original Image Path is set to /images/, then
the generated HREF will reference /images/b0gus.jpg.
- Thumbnail Path
- Only available when Use Source/Destination Paths is disabled.
If present, this value will be prepended to the filename of the
scaled image. For example if the scaled file name is
C:\TEMP\Thumbs\b0gus_th.jpg and Thumbnail Path is set to /thumbs/, then
the generated IMG will reference /thumbs/b0gus_th.jpg.
- URL Prefix
- If present, this value will be prepended to the file names of both
the original and the scaled images. This is done regardless
of the state of Use Source/Destination Paths. For example, the
value of file:/// can be used when generating a table that will
reference a local disk drive.
- Images/Row
- Specifies the number of images to include in each table row.
- Rows/Table
- Specifies the number of rows are generated before a new table is
started. This is useful to break up a large number of
images into smaller tables.
- Insert Blank Rows
- If enabled, a blank table row will be inserted between each
row that contains images.
|