MThumbnail
MThumbnail is a totally FREE application that automatically generates thumbnails from all JPEGs in actual directory and generates also colorized thumbnails great for interactive galleries using a simple Javascript.
Nice gallery, isn't it? And you can have it too. All it takes is one simple javascript:
<a href="gallery/1.jpg">
<img src="gallery/1_thgr.jpg"
onmouseover="this.src='gallery/1_th.jpg'; "
onmouseleave="this.src='gallery/1_thgr.jpg'; "
onmouseout="this.src='gallery/1_thgr.jpg'; "
/>
</a>
So simple? Yeah. But someone has to prepare those images. And that is exactly the purpose of MThumbnail.
How does it work
MThumbnail is a console application, which takes all JPEG images in actual directory, creates thumbnails (with postfix _th) and thumbnails with color modification (with postfix _thgr); This is its syntax:
mthumbnail [requestedheight] [hexacolor] [fillalpha] [jpegquality0-100]
For example: you copy MThumbnail into your system directory
C:\Windows, so that you can execute it from anywhere. Let's say you have your
images in C:\Gallery. They are called 1.jpg and 2.jpg.
Go to that directory and execute following command:
mthumbnail 120 FF0000 150
mthumbnail generates 2 thumbnails (1_th.jpg, 2_th.jpg) and 2 colorized thumbnails (1_thgr.jpg, 2_thgr.jpg).
120 means that each resulting thumbnail should be 120 pixels high.
FF0000 is the color, that should be applied to the _thgr images
in RGB or RGBA form (RGB in our case). If you for example specify FF000020 instead,
then alpha channel is obviously 20, which is not much, so the colorized thumbnails
will look quite similar to the originals. They will be only slightly affected
by the color. In our case FF0000 is red, so the colorized thumbnails will be quite red :-).
150 is the alpha of the colorized images. Since JPEG does not support
alpha channels, this is done simply by overlaying the image with a rectangle
with F3CDAB color again. If you specify 10 instead, the original image will be
almost invisible.
JPEG quality is not specified, so the default value is used.
Download
Here you can download the program. Then unzip and run. No installation is required.
We just recommend you to copy the contents e.g. to the C:\Windows directory (or any other path specified in PATH environment variable), so you can call it from any place in the system. Otherwise you will have to copy the mthumbnail.exe to the path with images whenever you need it.
Licence
The software is totally free of charge, download and enjoy! However it would be great if you would send us a short email, so that we know that someone enjoys our work. We swear your email address will not be misused. It would be also great, if you would place link from your website to ours. Thank you!
This software is provided AS IS without warranty of any kind. Modification or selling is strictly prohibited. You may use, copy and share. Sharing is permitted only in form you have downloaded it from the internet, that is as the ZIP archive with all contents unchanged.