Enables the user to scale images as well to convert up to 1024 images at a time between different image formats. Uses a specially constructed bi-cubic scaling algorithm to scale image data by any ratio. The aspect ratio of the image is preserved by default. Produces JPG, BMP thumbnails of selectable size. |
Installation:
Copy/unzip all the files to a directory of your choice.
Example:
C:\ImgScale
Run the ImgScale.exe
If you have any problems and or comments please contact wmacu@telus.net
If you plan to process images from KODAK, using the DCR format, please read the DCR_File_format.htm
ImgScale.exe is a simple image scaling and viewing utility. The ImgScale input is one of TIFF, JPEG, BMP, PGM, TARGA, PPM or DCR files. When the Output format is TIFF, true scaling is used. All other output formats use sub sampling and or pixel replication. Not all TIFF, TARGA and BMP formats are guaranteed to work.
|
Fig 1.
Special Options:
Refer to sections in Fig 1.
1] Mainly information view of the original Image
2] Preview Options:
Preview Image:
Will invoke an Image preview dialog.
Pressing the Left Hand mouse Button within the preview window, will zoom into the image.
Pressing the Right Hand mouse Button within the preview, will zoom the image out.
Preview Thumbnails:
Will invoke the thumbnail preview window.
3] Limit Memory Usage:
If the CPU memory is rather low, and swap space is limited ( less then 256 Mb ) use this option for large input images.
The Image scaling will be slower when this option is used.
4] Fit Image to XXX Square:
Sets the output image so that neither the number of pixels or lines is greater then XXX.
5] Any of the following fields may be changed and the rest will be updated.
Press Enter, to assure update.
The result of ImgScale is
a bi-cubically interpolated TIFF image, If TIFF outpout is selected,
this image may be optionally compressed by checking the LZW Compress check box.
The Image may be scaled either up or down, depending on the Scale Image settings.
Best results are obtained by scaling the image UP, more the 100%.
Compare the scaled images with Photoshop scaled images and you might be surprised :-)
NOTE 1:
If the Original image has TIFF 12 or 16 bits per channel, the resulting Image will have only 8 bits per channel.
Only TIFF output format images are scaled, producing any other output format, the output Image is only sub sampled.
The ImgScale.exe executable is optimized for increasing the size of selected images.
You may see some artifacts, if you try to scale DOWN the selected image.
To handle large images, make sure you have enough memory, or at least large enough allocated swap space.
This program likes to eat up memory.
NOTE 2:
The maximum no of files used in the multiple file selection set 1024!!
NOTE 3:
Thumbnails may be generated by activating the Fit Image to Check Box.
The thumbnail images may be generated as one of following TIFF, JPEG or BMP image formats.
If the "Preview Thumbnails" option is used it is recommended that the "Preview Image" option is disabled.
Disable the "Preview Thumbnails" on slow computers, if time is of the essence.
Enable the "Preview Image" only when an image detail of a selected image is to be examined.
The preview thumbnails are stored in the system temporary directory, with the extension *.tn0. The average *.tn0 file size is about 5kb, dependent on Quality setting.
Remove these *.tn0 files occasionally :-)
If you require more information or programming samples please contact Wenny Macura at wmacu@telus.net Try the DownloadFromServer/Linux directory at ftp://ftp_000:kara@216.232.134.104 for Linux version. Any questions or comments? Contact wmacu@telus.net Tel: (604) 925 9425
|