|
Sample Pages created with the HTML Power Nailer or Visit the VirtuaMedia Home Page |
Power Nailer was tested to be safe however by using this program you acknowledge that VirtuaMedia or the author of this program will not be held liable to any damages direct or indirect, coincidental or otherwise caused by the use or misused of this software. In conclusion, use at your own risk. The registration process is handled by a third party company that handles money transactions on the internet. If you have any problems with the registration process, please mail them directly. |
You can scroll down to read a feature by feature explanation or you
can press on the picture below to jump to a specific feature.
Several things that don't appear in the actual interface, and are important to know are: It would be wise to read these first. If you feel you don't understand something in the working of Power Nailer or wish further clarification, feel free to Mail Me |
The Header File: The Header file is an HTML file which will automatically be attached to any new page created. In this file you define the basic page settings such as the background image and window title. All these are just optional, however in order for Power Nailer to work, the header file must contain a table header (as you can see in the sample files provided with Power Nailer). An example of a table header syntax is: <Table Border=2 BGCOLOR=#00003A CELLPADDING=0 CELLSPACING=0> It is advised that you keep both CELLPADDING and CELLSPACING at zero otherwise the thumbnail might look weird or load slower. Feel free to change the BGCOLOR (background color) and Border settings. Another important feature in the header file is a special translation anchor. In every place Power Nailer finds the <PAGE> anchor it will automatically be replaced with the current thumbnail page number. This is only occurs when the "Insert Page Number" checkbox is enabled. |
The Footer File: The Footer file is an HTML file which will automatically be attached to the end of any new page created. This file contains the HTML page closing elements (see sample page). |
The Directory List: Instead of working one section (file directory) at a time, Power Nailer is able to automatically process several directories in a sequence. The directory list is a text file which contain a list of directories in which Power Nailer will do it's work. You can see an example directory list file in the samples provided with Power Nailer (it's called "directory.list"). Inside this file, you list one directory per line, Example: C:\Catalog\Animals\ C:\Catalog\Family\ C:\Catalog\Travel\ And so on . . . |
The Picture Directory: If you desire to work on a single directory, simply type in the directory name into this field. Example: C:\Catalog\Animals |
The Thumbnail Size (width & height): Each thumbnail is in actuality a scaled down version of the original picture, in these two fields, you enter the maximum width and height of each thumbnail. There are several things you want to take into account. The first is that you probably want the width and height fields to match the vertical/horizental aspect of the screen. All screen modes except 320x200 have an aspect of 1.333333 (You can see this by doing 640/480 or 800/600). So in order to keep the correct screen aspect for lets say a thumbnail who's width is 100 pixels wide, we'll do 100/1.333333 which comes out as 75 pixels high. The other thing you should want to remember is that you have a fixed screen width, and if you make the thumbnails too big, you wont be able to fit a lot of them in one row. So you might want to think in advance the ratio of thumbnail resolution compared to the number of thumbnails in one row and the screen mode your page is designed to be viewed at (i.e. 800x600 or 1024x768). Good width & height values are:
|
The Text Box Height: The Text Box contain all the information regarding the picture, it always contains the picture file name, and it can optionally contain the picture file size and resolution. The Text Box width is always set by the maximum width of the actual thumbnail picture (see above), however it's height is automatically set by the browser to the height of the font used. This might not always be desired since it may give an irregular height where one thumbnail row is higher than another. To bypass this you can set your own height for text box. This is risk free. If for some reason the text box needs to be higher than the number you've set, the browser will automatically compensate and will set the correct height itself. You may wish to create a test page for testing the correct text box height you desire. Of course you can leave it all to the browser and just leave this at the default number of 16. Note: The height is in pixels. |
The Text Box Font Size: The default size of the font used to list the picture file name and attributes is 1, however you can change it to any number. Note: Numbers over 3 are very big. |
Thumbnails per line: This is the number of thumbnails that should appear in one row. When selecting this number, take into account the thumbnail resolution and the screen resolution your page is designed to be viewed at. Example: I design my page to be viewed at 800x600x16bit or better, i selected a thumbnail size of 100 width and 75 height. Now i also remember that the table border itself takes a bit of space and i want to leave some margins, so i set the Thumbnail per line field to 7 which gives me a margin of about 40 pixels on each side and 7 thumbnails per row. |
Thumbnail Rows Per Page: This is the number of thumbnail rows to create in a single page. If the number of images in a directory exceeds the number of images in one page ("thumbnails per line" * "rows per page"), more than one page will be created. |
JPEG Encoding Quality: The created thumbnails are always created using JPEG encoding, the JPEG format was tested to be far smaller than GIF in most image types (16 Color or lower GIFs are smaller than JPEGs since JPEGs were designed for photo-realistic color images). JPEG is a lossy format, by that it means that it will lose image quality when compressing images. The better the compression quality, the less the loss. At 100 quality there is hardly any visible loss. The lower the quality, the smaller the file size. The default JPEG encoding quality for Power Nailer is 80. This quality is (in my view) the best size/quality compromise. |
The Scaling Quality: Since the original image size is always larger than the size our thumbnail will be scaled to, we need to downscale (shrink) the original image into our thumbnail size. Power Nailer employs five different routines to downscale an image: Average (integer): This is the fastest of all the scaling routines and it does not rely on the FPU (math co-processor). It uses a point routine to calculate the image. Average (float): Similar to Average (integer), this quality setting still uses a point routine to calculate the image, however it also uses the FPU to obtain a slightly more accurate result. Good (integer): This routine uses a more complex rectangular area summing technique to get a more accurate and smoother thumbnail. Like the Average (integer) routine, it doesn't rely on the FPU and is thus faster. Good (float): This routine is similar to the Good (Integer) routine, but uses the FPU to obtain a slightly more accurate thumbnail image. Best (float): This routine is highly CPU & FPU intensive, it uses sub-pixel calculation to provide the best and smoothest result, however, it is at least 10 to 20 times slower than any of the other routines. Use this selection only for small project. Note: One of the greater benefits of the Pentium II processor is that it has a very strong FPU performance compared to other processors. Due to this fact it is recommended that you use the (float) routines on a Pentium 2 machines. If the work isn't too big (under 10,000 images) you might want to use the (float) routines on other CPU types. When designing a page, use the Average routines to set a good page layout, when you're satisfied with the page layout, create the page using one of the Good quality settings. The Best quality settings is only useful when creating rather large thumbnails, there usually isn't much benefit when used with smaller sized thumbnails. |
The Text Box file name Case Setting: This setting controls the case in which the picture file name will appear inside the text box, here are some examples: Unchanged: MyPic.JPG .. MyPic.JPG Lowercase: MyPic.JPG .. mypic.jpg Uppercase: MyPic.JPG .. MYPIC.JPG Capital First: MyPic.JPG .. Mypic.jpg |
Including Picture Resolution inside the Text Box: Enabling this feature will add the picture resolution to the text box, this only works when using the internal JPEG and GIF decoders. |
Including Picture File Size inside the Text Box: Enabling this feature will add the picture file size in kb to the text box. |
Using Progressive JPEG encoding for thumbnail creation: The JPEG format supports two type of formats, the standard decoding format, and the Progressive format. The progressive format was designed with the internet in mind. Instead of decoding the image in one pass it will use several passes (Similar to interlaced GIF, but of a higher quality). However, progressive encoding is not really useful for really small pictures, and does not seem to function well within HTML tables, you might want to experiment with this feature. Notice: You will not see any effect of progressive encoding when loading up the pages locally (from your hard disk) as the images load too fast. |
Inserting the PAGE number into the HTML page: When this setting is enabled, Power Nailer searches for the specialized <PAGE> anchor inside the HTML Header File and replaces it with the correct page number. This only applies to Multi Page Processing. If you do not plan to create more than one page in a directory, or if you don't want the page number listed on the pages, disable this option. Note: You can still have the special anchor inside the header file even if you are not going to use it, as it will be ignored by all the browsers. |
Using a list of directories: When enabled, pressing the begin button will use the Directory List file in order to obtain a list of multiple directories to work from. When disabled, the Picture Directory will be used as a single directory to work from. |
The Begin and Abort Buttons: Once all the settings are complete, press the Begin button to start creating the Page(s), the moment you press this button, it will disappear and an Abort button will appear in it's place. Pressing this button will abort the conversion. It is advised to exit Power Nailer after aborting a session. |
The Quit Button: Em, i think you understand this one. But still, one small note, when you exit Power Nailer all the configuration setting are saved automatically. |
The Status Area: The status area contain a lot of useful information that is updated while Power Nailer is working:
|
Enabling the External Decoder: Power Nailer supports the use of an external commercial image decoder from Hand Made software to support a lot more image formats other than the internal GIF and JPEG. Using Image Alchemy, Power Nailer can support a multitudes of input formats such as BMP,TGA,PCX,PNG and a lot more. These formats are rarely used however support through Image Alchemy is available. You can get Image Alchemy from Hand Made software's home page (link above). Their demo version is limited to image resolutions of 640x480 and under. If you already own Image Alchemy, make sure you have the latest version installed otherwise Turn OFF progressive JPEG encoding since it was only added in the latest version. A final note: Image Alchemy comes in various EXE file names (alchemy.exe,alch386.exe, alchlong.exe), in order for Power Nailer to work with Image Alchemy, it must find it. To do that, rename the proper (alchlong.exe is the best for windows operation) EXE file into alch.exe and make sure it's in the file path. |
Saving or Discarding broken thumbnails When dealing with an external decoder, various unforseen things may occur, one of them is Image Alchemy's inability to support certain corrupt images. If such a case occurs, a broken thumbnail will result. If you want the thumbnail moved along with the badly encoded image into the broken directory, enable this feature, if disabled the broken thumbnail will be erased. |
Opening a visual console window on external conversion: Image Alchemy is a console application, this means it opens a DOS-Style window each time it runs. This will slow conversion greatly and is not recommended. If Visual conversion is enabled a console window will appear for each image Image Alchemy is called for. It is recommended to use this option only for debugging purposes. |
External encoder scaling quality: Image Alchemy supports four different types of image scaling, all are horridly slow compared to the internal encoding. Here is some information regarding the quality setting: A: Ack, this quality SUCKS, it's really bad, don't use it. B: This is comparable to the Average quality of the internal encoder. C: This is comparable to the Good quality of the internal encoder. D: Em, this seems almost exactly like C, but is EVEN SLOWER. |
External encoder JPEG encoding quality: Image Alchemy's JPEG encoding quality seems to work on a completely different scale compared to the internal encoder. A value of 32 seems to be about the same as a value of 78 in the internal encoder. They also say that any value over 95 is useless, so don't try going over 95. |
Setting the size to define a broken thumbnail: When Image Alchemy messes up a scaling in mid-process it seems to break the file at about 220-230bytes, a value of 250 should catch all the broken thumbnails. I believe the smallest JPEG is about 700bytes, so no real JPEGS should slip through. For safety purposes you can not set this value under 230. |
The Directory Structure: Since the release of Power Nailer v1.10 the directory structure has been greatly simplified. As of now, all you need to do is place all your image files in the directory you pointed to, and not the "\image" sub-directory as in previous versions. As in previous versions, all corrupted image files will be moved into the "\broken" directory within the directory you pointed. If such a directory does not exist, it will be created automatically. |
Multi Page Processing: One of the strength of Power Nailer is it's ability to handle Multi-Page thumbnails with ease. When starting to work on a section (directory), Power Nailer does several things. First it checks if previously created pages already exist in that directory. For Example Power Nailer searches the dir and finds that pages: PAGE00000.HTML PAGE00001.HTML PAGE00002.HTML Already exist. At that point Power Nailer will automatically start working at PAGE00003.HTML. Next Power Nailer will compare all the images from the Image\ sub-directory to the already existing thumbnails in the main directory, all images without thumbnails will be added to the list of pictures that require new thumbnails and will be added to the new page. When Power Nailer exceeds the amount of thumbnails that are defined for a page, it automatically moves on to PAGE00004.HTML, and so forth. Using this system, when you wish to add more images to your pages, you have two choices:
|
Multi Page Indexing: Power Nailer creates all it's output HTML data in files called PAGExxxxx.HTML (i.e. PAGE00000.HTML, PAGE00001.HTML, PAGE00002.HTML ...); A separate program called the HTML Power Nailing Indexer was created in order to create index files that will point to all those PAGE files. You can find it on the VirtuaMedia Home Page. |