Home
Name Modified Size InfoDownloads / Week
source 2019-09-07
readme.txt 2019-09-07 1.2 kB
scaledown.bat 2019-09-07 146 Bytes
ScaleDown.jar 2019-09-07 32.4 kB
Totals: 4 Items   33.8 kB 0
Installation:
Place the (self running) jar file into any directory. At first run (double click) two subdirectories will be created, "source" and "target". There is no GUI.

Usage:
Place original images into the "source" directory and run jar file to create the thumbnails. Thumbnails will be created in the "target" folder. Existing thumbnails are overwritten without warning.

Default for scaling is a thumbnail WIDTH of 1200, with a quality setting of 95% and identical name,
resulting in jpg images of good quality and a significantly reduced file size suitable for emailing. 

The defaults can be changed by starting the jar not by double clicking but from command line as in the example (Windows) scaledown.bat file. 

Parameters:
	W idth
	H eight
	Quality %
	File name extension
	Mode:
		w =fit to width
		h =fit to height
		e = exact fit  
		a = automatic

This tool uses the imgscalr library and needs java 1.6 or later.

It was created because I felt that coding a few lines of Java was less of a learning curve for me than using existing tools, especially for simple batch processing of many jpg files at once. 

Works also with png, but quality is poor - see source code for more information. 
Source: readme.txt, updated 2019-09-07