REFERENCE






GIF Construction Set Professional embodies a great deal of functionality for creating and manipulating transparent and animated GIF files. It's unlikely that you'll find uses for absolutely everything GIF Construction Set knows how to do. It's more unlikely still that you'll want to try to learn everything there is to know about GIF Construction Set in a single session.

This document is an encyclopedic reference for all the functions of GIF Construction Set Professional.

If you have not already done so, please read the Tutorial and Quick Start documents installed with GIF Construction Set. They will walk you through the basic operation of the software and provide you with step by step procedures for performing the most common tasks that GIF Construction Set is called upon to do.

Note that throughout this document you will encounter references to configuring GIF Construction Set and using the Setup dialog. The configuration options and the Setup dialog are discussed in detail elsewhere in this document.




About


Select About from the Help menu to see the About dialog for GIF Construction Set. If you're evaluating an unregistered copy of GIF Construction Set, you will no doubt be familiar with this dialog. It's worth noting that it will not appear when you exit a registered copy of GIF Construction Set, nor will it talk.

The About dialog will tell you which version of GIF Construction Set you're presently using, including the patch number if there is one. This information is important if you have cause to contact us with a bug report or a question about the software.




Animation Wizard


The Animation Wizard function of GIF Construction Set will build animated GIF files for you without troubling you unduly with the unpleasant internal details of GIF files. It can be accessed by selecting Animation Wizard from the GIF Construction Set File menu, or by clicking on the Animation Wizard magic wand button in the tool bar.

Animation Wizard will ask you a few things about how you want your animation to work and where the source images are, and it will then assemble your frames into a GIF file.

In creating an animation "from scratch," itÆs best to think of yourself as the animation artist, and of GIF Construction Set Professional as the animation camera. ItÆs your responsibility to create the source images which will form the action in your animation. GIF Construction Set Professional will put them together into a completed animation for you.

The Animation Wizard dialog works like a conventional Windows wizard - you can move back and forth through its screens by clicking on the Back and Next buttons. Each screen is set to a default value which will usually be correct.

For the curious, the fellow with excessive hair who seems to be looking for a lost contact lens at the left side of the Animation Wizard dialog is from a painting by William Blake entitled "Ancient of Days."

When the Animation Wizard dialog appears, click on Next to get started.

The first Animation Wizard screen will ask if you want to create a GIF file for use on a World Wide Web page. This actually gives Animation Wizard some guidance about how to choose a colour palette for your GIF file.

The second Animation Wizard screen will ask you if your want your GIF file to loop indefinitely or animate once and stop on the last frame. You can change this after you have built your animation if you like.

The third Animation Wizard screen will ask you how you want to handle the colour palette for your GIF file. This is easily Animation WizardÆs sneakiest trick question. There's a discussion of palettes in the Tutorial document installed with GIF Construction Set. HereÆs what these options mean:

  • Matched to Superpalette: If you select this option, Animation Wizard will look at all the colours in all the graphics in your animation and derive a 256-colour palette which best reflects all your images. It will then remap all the colours in your source images to this palette. This option will usually give you the most attractive results.

  • Dithered to Superpalette: If you select this option, Animation Wizard will look at all the colours in all the graphics in your animation and derive a 256-colour palette which best reflects all your images. It will then dither all the colours in your source images to this palette. This option is a good choice if you are building your animation from photorealistic images and you do not intend to add transparency to it.

  • Matched to First Palette: If you select this option, Animation Wizard will build your animation using the palette of the first image you select. This allows you somewhat more control over the final use of colours in your animation, but it can result in some truly wild colour shifts if the colours used by the first image in your animation are radically different from those in your subsequent images.

  • Photorealistic: If you select this option, Animation Wizard will dither your images to a palette with an even dispersal of colours from pure black to pure white. It selects a slightly different palette depending on whether you told it you wanted to create a graphic for use on the web or not. This option is a good choice for building an animation from source true-colour images, such as JPEG files, wherein the source images all have widely varying colours. The results can look a bit grainy, but this is often the best that can be achieved with the limited colour facilities of a GIF file.

  • Drawn: This option uses the same palette as the Photorealistic option, but it remaps rather than dithers. This option is useful if youÆre building animation from line-art source images.

  • Drawn in Sixteen Colours: This option behaves like the Drawn option, but it uses a palette with only the basic sixteen Windows colours. This is good for very simple animations with a restricted range of colours.

Unless you have a good reason to do otherwise, leave this screen set to Matched to Superpalette.

The fourth Animation Wizard screen will let you choose the delay between frames for your animation. This represents the time each image will appear before itÆs replaced by the subsequent image in the sequence. For historical reasons - which no one can quite recall the history of any longer - GIF files represent delay times hundredths of a second. A setting of 100, then, represents one second. The delay times of individual images or of your entire animation can be changed after Animation Wizard has created your animation. See the discussion of the Manage function elsewhere in this document.

The fifth Animation Wizard screen will let you select the source images for your animation. Click on the Select button to open a File Open dialog. You can select multiple source files at once. When you click on Open, the files you have selected will be added to the file list in Animation Wizard and the File Open dialog will appear again. Click on Cancel when youÆre done selecting files. Note that you must select at least two source images to create an animation.

You can click and drag selections around the Animation Wizard list box. If you hold down the Shift key when you drop a file name, the name will be duplicated at the dropped location, rather than moved.

The final screen of Animation Wizard will appear when you're ready to build your animation. Click on Done. Animation Wizard will load each of your source files and construct your animation. This may take a minute or two. It will display its progress in the status bar at the bottom of the GIF Construction Set Professional application window. When itÆs done, it will open a document with your animation in it.

You can view your new animation by clicking on the View button. It can be saved to disk through the Save As item of the File menu.

ItÆs likely that the animations you create with Animation Wizard will require some post-production fine tuning. You might want to add transparent elements, move some images around, make some images display for different amounts of time and so on. Once an animation has been opened in a GIF Construction Set Professional document window - whether it got there through the Open item of the File menu, the Animation Wizard or any of the other ways to create animations yet to be discussed - itÆs ready for you to work on using the many tools available in GIF Construction Set Professional




Anti-Alias


Several of the functions in GIF Construction Set û most notably the Banners and Transitions features û have optional anti-aliasing. A term as widely misunderstood as "responsible government" or "bumper-to-bumper warrantee," anti-aliasing can improve the appearance of your graphics if you use it correctly. Alternately, it can just make 'em look out of focus.

By default, the pixels used to form images on your monitor are square. They're relatively small, but being square, they render hard lines and the edges of things in a series of steps if the lines in question are not perfectly horizontal or perfectly vertical. These "jaggy" edges look less than wholly professional in some situations.

Anti-aliasing improves on the appearance of lines and edges by blending them with whatever theyÆve been drawn against, as shown here.

While anti-aliasing will often improve the appearance of graphics with hard lines in them, it does have several notable drawbacks. Because it generates pixels in colours which were not present prior to anti-aliasing, it will typically reduce the effectiveness of the GIF format's already less than stellar compression, creating slightly larger files. It can also reduce the resolution of hard lines, causing them to appear slightly blurred.

GIF Construction Set Professional allows for a variable degree of anti-aliasing. You can configure it through the Setup dialog.




Banners


The Banners function in the Edit menu of GIF Construction Set creates sophisticated text banners, which can be either still or animated. If youÆre interested in creating complex banner advertisements, have at look at the Build Banner Ads that Rock article at our web page.

To create a banner, select the Banner item from the Edit menu of GIF Construction Set Professional. The Banner dialog will appear.

The tabs at the top of the Banner dialog select the type of special effects to be added to your text. These are:

  • Simple: Your text will be drawn in a solid colour, with or without a drop shadow.


  • Embossed: Your text will be drawn with highlight and shadow lines to make it appear to rise from the surface of your monitor.

  • Teletype: Your text will be drawn one character at a time, in a solid colour, with or without a drop shadow.

  • Glow: Your text will be drawn against a black background with a simulated glow and optional neon tubes.

  • Soft shadow: Your text will be drawn in a solid colour with a soft shadow behind it.

  • Texture: Your text will be cut from a tiled texture and drawn with an optional drop shadow.

  • Scanners: Your text will be drawn in a solid colour, with or without a drop shadow, with a bright scan line animated over it.

  • Waves: Your text will be drawn a moving wave between the Crest and Trough colours.

With the exception of Teletype, Scanners and Wave, all the Banner effects can be used either to create single lines of still text or to create text that rolls in from the right. The Teletype and Scanners effects are always animated.

There are a number of parameters to adjust for each of the banner effects. HereÆs what they do. Note that not all these parameters are applicable to all the effects - they wonÆt appear on the tabs where theyÆre not needed.

  • Background colour: The colour of the area behind your text and its shadow.

  • Backscatter colour: The colour of the glow to the right and left of the scan line in the Scanners effect.

  • Crest colour: The colour of the wave crests in the Wave effect.

  • Glow colour: The backlight colour for the Glow effect.

  • Outline colour: The colour used to outline the text in Textures effect.

  • Scan colour: The colour of the scan line in the Scanners effect.

  • Shadow colour: The colour the drop shadow behind your text will be drawn in.

  • Text colour: The colour your text will be drawn in.

  • Trough colour: The colour of the wave troughs in the Wave effect.

  • Tube colour: The colour for the neon tubes in the Glow effect, if theyÆre enabled.

    Note that as with all the colour buttons in GIF Construction Set Professional, you can change any of the foregoing by clicking on the button in question and selecting a new colour.

  • Anti-alias: If this item is enabled, your text banners will be created with anti-aliased text, which will help reduce the jagged appearance of diagonal edges of characters.

  • Banner Text: This is the text to be used to create your banner. Banner text can occupy up to 260 characters.

  • Cells: This is the number of individual images that will be created for your animated text banner. More cells will result in smoother animation, but also in larger files. In some cases, this value is more of a suggestion than an absolute number, and GIF Construction Set Professional might decide to create an animation with one or two more or fewer images.

  • Compress Palette: If this item is enabled, GIF Construction Set Professional will supercompress the palette for your text banner once it has been created, possibly creating a smaller final GIF file. This will increase the time it takes to complete a banner - you might want to leave it disabled if youÆre just experimenting.

  • Delay: This is the number of 1/100ths of a second that each image in your animation will appear for. Increase this number to slow your animation down.

  • Dither: Enable this item to have the colours in the textures used by the Texture effect dithered to the palette of the banner being created. Disable it to have them remapped.

  • Drop shadow: Enable this item to show a drop shadow behind your text.

  • Extra Soft: Enable this item to increase the softness of the soft shadows in the Banner function.

  • Font: Click on this button to select the typeface, size and effect for the text youÆd like to create. GIF Construction Set Professional will create text banners using any alphabetic font in your system. Note that it will not work with symbol fonts or with most two-byte fonts, such as Kanji, Arabic or Hebrew.

  • Frequency: Sets the frequency of the crests in the Wave effect.

  • Leading edge: Disable this item to remove the text to the right of the scan bar in the Scanners effect.

  • Neon and Glow: These items select which of the Glow effects GIF Construction Set Professional will create.

  • Offset: This is the offset in pixels between your text and its drop shadow.

  • Outline: Enable this item to have your texture banners drawn with an outline.

  • Palette: This is the palette to be used to create your banner. Palettes are discussed in greater detail in the Reference document installed with GIF Construction Set Professional.

  • Pause: This is the delay for the last frame in your animation, right before it loops. It can be used to build in a pause before the banner begins to appear again.

  • Radiance: This tells the Glow effect how bright to make the blow behind the text it draws. Very high radiance values can produce really strange banners.

  • Rolling: Enable this item to create an animated text banner, and disable it to create a single image of the text youÆre entered.

  • Texture: Click on this button to select the texture to be used by the Texture effect. You can add your own textures to the Texture effect. The Reference document includes a more compete discussion of textures.

  • Transparent: Enable this item to make the background colour of your text banner transparent. Note that this can be changed after your banner is created by editing the Image blocks for its individual frames.

  • Wide Bar: Enable this item to increase the width of the scan line created by the Scanners effect.

YouÆll probably want to experiment with the Banner function at length to really get a feel for what itÆs capable of. When youÆve entered some text, chosen a banner type and set up its parameters, click on Test to see how your banner will look as an animated GIF file.

Click on OK when youÆre happy with the banner youÆve created. Your banner will open in a GIF Construction Set Professional document window. You can save it to disk by selecting Save As from the File menu.


NOTE: Many of the banner effects create animated GIF files which can be greatly reduced by the Supercompressor.





Buttons


The Buttons function in the Edit menu of GIF Construction Set creates beveled button graphics. It can generate these both as GIF files, which will open in GIF Construction Set document windows, and as 24-bit JPG, PNG, PCX, BMP and TGA files through its Export function.

GIF Construction Set's buttons can be of any colour you like, using any font in your system.


NOTE: The buttons created by GIF Construction Set are just graphics. If you need clickable buttons at your web page û buttons which depress when they're clicked on û you'll need some JavaScript code to handle this. An example of the JavaScript required is included below.


You can create buttons with either round or square corners. GIF Construction Set will create suitable dark and light colours to simulate the three-dimensional contours of the buttons you specify.

Here's what the Button controls do:

  • Text Colour: This is the colour of the text to be used to create your button.

  • Button Colour: This is the colour of your button. The button creator will generate both lighter and darker colours based on this colour. As a rule, fairly dark colours will create more convincing buttons.

  • Background Colour: This is the colour of the background upon which your button will be drawn. This has no effect on rectangular buttons û it will be used to draw the areas outside the rounded corners of round buttons. If you enable the Transparent option, make sure you choose a background colour that's markedly different from the button or text colours you've selected to avoid having transparent areas show up unexpectedly within your buttons.

  • Font: This is the font to be used to draw the text in your buttons. You can select any font installed in your system.

  • Drop Shadow: Enable this item to have your text drawn with a drop shadow. The drop shadow will be drawn to the right and below your text by the number of pixels specified in the offset control, in a colour which is somewhat darker than your text. See below for a discussion of derivative colours.

  • Highlight: Enable this item to have your text drawn with a highlight. The highlight will be drawn to the left and above your text by the number of pixels specified in the offset control, in a colour which is somewhat lighter than your text. See below for a discussion of derivative colours.

  • Anti-alias: If this item is enabled, your buttons will be created with anti-aliased text, which will help reduce the jagged appearance of the diagonal edges of characters. Because of the palette limitations of buttons written to the GIF format, anti-aliasing may have less effect on the appearance of the text in buttons that it does in other functions of GIF Construction Set. It's more applicable to buttons exported to other formats, such as JPG. See below for a discussion of exporting buttons.


NOTE: If you enable both Anti-alias and Transparent, you may find a thin non-transparent line around the corners of round-corner buttons. These two options should not be used together unless you're prepared to do a bit of post-production editing with the Paint function to clean up these artifacts.


  • Round: Enable this item to create round-corner buttons. Disable it to create square-corner buttons. Art-college alumni, industrial graphic designers and people who paste up beer advertisements for a living will want to leave this item disabled.

  • Transparent: Enable this item to make the areas outside the round corners of a round-corner button transparent. See discussion of transparent background colours above. Note that as none of the 24-bit formats to which buttons can be exported support transparency in any useful way, the setting of this option will be ignored by the Export function.

  • Depth: This is the depth in pixels of the bevel for your button.

  • Padding: This is the space in pixels between the inner edge of the bevel and the text of your button.

  • Offset: This is the distance in pixels between your text and its highlight and drop shadow images, assuming you have either Drop Shadow or Highlight enabled. GIF Construction Set will not allow you to use an Offset value that's larger than the current Padding value.

  • Export: GIF files support a maximum of 256 colours, and while this is capable of creating pretty convincing buttons, it doesn't really allow for anti-aliasing. If you click on the Export button, you can export your button as a 24-bit image to any of the secondary file formats supported by GIF Construction Set Professional, to wit, JPG, BMP, TGA, PCX and PNG. It's most likely that you'll want to use JPG if you're creating buttons for a web page. You may need to configure the JPEG Quality Factor in the Setup dialog prior to doing this. See the discussion of JPEG files in the Graphics Tutorial for more about how all this works.

A few words about derivative colours: To begin with, you need not read this next bit, and you might be happier if you didn't. Should you do so despite this warning and find that your head hurts, be comforted in knowing that the discomfort will pass as soon as you turn off your computer.

In creating buttons, GIF Construction Set will create four new colours to draw with based on the Button Colour and Text Colour values you have specified. The four new colours are called Bright, Dark, Text Shadow and Text Highlight. They're defined as:

    Bright = Button Colour * 1.25
    Dark = Button Colour * 0.60
    Text Shadow = Text Colour * 0.50
    Text Highlight = Text Colour * 2.00

That is, the Bright colour is 25 percent brighter than the Button Colour, the Dark colour is 60 percent as bright as the Button Colour and so on. The highlighted areas of a button are drawn in the Bright colour and the shaded areas in the Dark colour.

If you find that you don't like these derivative colour values, you can change them. To do so, you must edit the file \WINDOWS\GCSPRO.INI. Use Windows Notepad to open this file, and be sure GIF Construction Set is not running when you do so. Locate the following four lines:

    ButtonDarkFactor = 60
    ButtonBrightFactor = 125
    ButtonTextHighFactor = 200
    ButtonTextShadowFactor = 50

These numbers represent the percentage of brightness for each of the four derivative colours, multiplied by 100. As such, the factor by which the Button Colour is multiplied to derive the Bright colour, 1.25, is represented here as 125.

You can experiment with these values û if you choose radically nonsensical values, GIF Construction Set may draw some very strange buttons indeed.

Creating clickable buttons: You can include buttons in your web pages which animate when they're clicked. This actually involves creating two button graphics û one for the button at rest, and a second one that displayed when the button is being clicked on. The latter is referred to as the "depressed" button image. Prozak may be required in some cases.

This example of a clickable button will take you to the graphics tutorial document for GIF Construction Set if you click on it. If you don't see a button here, or if it doesn't animate correctly, your browser either has JavaScript problems or its JavaScript interpreter has been switched off.

The graphics below illustrate the two components of a clickable button. The second image was created by copying the first image and then editing out its bevel with the Paint function in the GIF Construction Set Image block editor. The text in the depressed image was moved down and to the right by a few pixels.


You'll also need a bit of JavaScript code to make the button work. It's important to keep in mind that bugs and JavaScript limitations in both Netscape and Internet Explorer prior to version 4.0 may prevent this script from working for users of these older browsers. In addition, some very paranoid users turn off both JavaScript and Java functionality in their browsers for fear of Java viruses. It's a good idea to provide a text link alternative for clickable buttons.

The following should appear at the top of your web page:

<script language="JavaScript">
<!--
var RDY=false;
image1=new Image();
image1.src="HTML0043.GIF";
image1on=new Image();
image1on.src="HTML0044.GIF";

function onready(name)   {
        document[name].src=eval(name+"on.src");
}
function offready(name)  {
        document[name].src=eval(name+".src");
}

RDY = true;
function on(name)  {
        if(RDY)onready(name);
}
function off(name)  {
        if(RDY)offready(name);
}
//-->
</script>

It's not necessary to know what all this does. The names of your two GIF button graphics should replace HTML0043.GIF and HTML0044.GIF, above. If you'll be using more than one clickable button on your web page, you can add multiple images, for example:

image2=new Image();
image2.src="BUTTON2.GIF";
image2on=new Image();
image2on.src="BUTTON2D.GIF";

Keep in mind that while these examples use upper-case file names, most web pages are designed with lower-case names. File names are not case-sensitive under Windows or DOS û they are under Unix, which is probably what will be running your web page on the web.

Here's the HTML code to add a button to your web page:

<a href="GRAPHICS.HTM" onmousedown="on('image1');"
onmouseup="off('image1');" onmouseout="off('image1')">
<img src="HTML0043.GIF" border="0" name="image1"
align="right" hspace=20></a>

Once again, you can change the URL û GRAPHICS.HTM in this case û to point to anything you like, but make sure you use the correct case.

Finally, JavaScript programming is a large and fairly complex subject. The code provided here is offered "as is" - while we're pretty sure it's solid, we are unable to provide you with assistance in applying it or modifying it for your requirements.




Closing GIF Files


You can close the current document window in GIF Construction Set by selecting Close from the File menu. If the GIF file about to be closed has had changes wrought upon it since it was last saved, you will be prompted to save the changes.

If you exit GIF Construction Set with one or more document windows still open, each one will be automatically closed. This process will also prompt you to save any changed GIF files.




Colour and Balance


The Colour and Balance function in the GIF Construction Set Block menu will allow you to fine-tune the colour, brightness and contrast of your GIF files. It applies to all the colours in all the images in a file û it always makes global changes to the colours of an animated graphic. The Preview button can be used to preview what you've done. The Reset button will return all the controls to their default positions. In this position, the Colour and Balance function will have no visible effect on your graphics.




Creating New GIF Files


To create a blank GIF file, select New from the File menu. A blank GIF file always includes a header block. You can add blocks to a new GIF file with the Insert and Merge functions.

The palette for new GIF files is set by the Default Palette item of the Setup dialog.




Crop


The Crop function in the GIF Construction Set Block menu will remove the area outside a selected rectangle for some or all of the images in a GIF file. When the Crop window opens, use the left button of your mouse to drag a rectangle around the area you wish to crop. Select Preview from the File menu in the Crop window to see what your cropped animation will look like. Click with the right button of your mouse to abort the Crop function, or select Done from the File menu in the Crop window to accept the cropped area you have defined.

To help you better position the crop rectangle for small images, the Crop function will display most images scaled up somewhat in the Crop window. This will not affect your final cropped image, which will appear at its correct scale.

In using the Crop function, the Crop dialog will show you the first selected image in the GIF animation being cropped. You can have it show you subsequent selected image by moving the scroll bar at the right side of the Crop window.

Be careful in using the crop function û it's fairly easy to crop the first of several frames correctly only to find that subsequent frames used to have things that extended outside the crop area, but don't any longer. Once an image has been cropped, the cropped-off areas are gone for good.


NOTE: This function only affects the selected blocks in the current document window. To apply it to all the blocks in a GIF file, click on the green "Tag All" button. You must click on the appropriate Apply buttons to enable the changes made in this dialog.





Copying, Cutting and Pasting Blocks


You can cut or copy the current block of a GIF file to the Windows clipboard using the appropriate items of the Edit menu. A block copied to the Windows clipboard will have its block structure stored as hexadecimal data defined in OEM text. Plain text and comment blocks will have their text stored as conventional Windows text. Image blocks will have their image information stored as conventional Windows device-independent bitmaps.

It's a really bad idea to mess with the OEM text objects copied from GIF Construction Set and then paste them back into GIF files.

You can copy a bitmap from another application onto the clipboard as a device-independent bitmap and paste it into a GIF file through GIF Construction Set. It will be given an image block on the way in, which you can subsequently edit if you like.

The block copied or cut by the Copy and Cut menu items will always be the one with the insertion caret. Pasted blocks are always inserted after the block with the insertion caret.




Deleting Blocks


You can delete any block except the Header from a GIF file. Click on the block in question to select it and click on the minus button in the tool bar, select Delete Block from the Edit menu or hit the Del key on your keyboard.

Note that all the selected blocks in the GIF file in the uppermost document window will be deleted by the Delete function. The number of currently selected blocks is displayed in the status bar at the bottom of the GIF Construction Set Professional application window.

If you delete a block and then change your mind, you can bring it back to life through the Undo function of the Edit menu. Undo only undoes the most recent change to a GIF file.

By default, GIF Construction Set Professional will warn you if youÆre about to delete more than one block.




Drag and Drop


The document windows of GIF Construction Set Professional support drag and drop. Specifically, you can:

  • Insert images into an existing GIF file in a document window by dragging them from another application.

  • Copy blocks between document windows in GIF Construction Set Professional by dragging them.

Items dragged to a GIF Construction Set document window will be inserted after the current position of the insertion caret.

If you drag images or image blocks into a GIF Construction Set document window, the Palette dialog will appear to let you choose a colour management strategy, should the palettes of your new images not match the palette of the GIF file into which you have dropped them. See the discussion of Inserting Blocks for more about this dialog.


NOTE: Dragged items dropped into a GIF Construction Set Professional document window are always copied, not moved. GIF Construction Set will not remove the source items once the drag operation has been completed.


You can drag GIF, JPEG, PNG, PCX, BMP and TGA images to a GIF Construction Set document window from any other suitable Windows drag source application, such as Graphic Workshop Professional. GIF Construction Set will complain if you attempt to drag files of any other format into one of its document windows, and ignore the dropped files.

You can drag Image, Comment and Plain Text blocks between document windows within GIF Construction Set Professional. Dragged Header blocks will be ignored.

GIF Construction Set Professional is not a drag source, and as such you cannot drag items from it to another application.

You can actually build a complete animated GIF file from scratch by creating a new document window in GIF Construction Set Professional and dragging images into it. This approach does not, however, allow GIF Construction Set to create a superpalette, and unless you have kept track of the palettes of your source images, you might not arrive at the most attractive animation. You will usually enjoy more attractive results with Animation Wizard.




Extract


The Extract function in the GIF Construction Set Block will allow you to select one or more blocks in an existing GIF file and have them written out to a new GIF file.

If you select more than one Image block and enable the Numbered option, the Extract function will create multiple numbered files, each with one image in it. The file names will consist of your destination file name with sequential numbers appended to it.


NOTE: This function only affects the selected blocks in the current document window. To apply it to all the blocks in a GIF file, click on the green "Tag All" button. You must click on the appropriate Apply buttons to enable the changes made in this dialog.





Flip and Rotate


The Flip and Rotate function in the GIF Construction Set Block menu will allow you to rotate some or all of the blocks in a GIF file in 90-degree increments, free-rotate them by any angle you like and flip them horizontally and vertically.

Note that free-rotating a bitmap will usually impose some rotation artifacts on it û you might find that your image is slightly degraded at some rotation angles. This will be a lot more apparent if you use dithered source images.

The Background colour button is used to define the colour of the revealed areas for free-rotated images.


NOTE: This function only affects the selected blocks in the current document window. To apply it to all the blocks in a GIF file, click on the green "Tag All" button. You must click on the appropriate Apply buttons to enable the changes made in this dialog.





Hardware and Software Requirements


GIF Construction Set Professional requires a Pentium or better processor to run. If you attempt to run it on a system with an 80386 or 80486 processor, it may refuse to boot.

A minimum of sixteen megabytes of memory are required to run GIF Construction Set Professional reliably, with 32 megabytes strongly recommended. Its performance will improve with increased memory. Note that if you run GIF Construction Set Professional on a system with numerous other large applications running concurrently - such that much of your system's memory is in use by other software - its performance may be degraded.

GIF Construction Set Professional can be used on systems with 256-colour Windows screen drivers, but doing so will typically not allow you to view some GIF files with their correct colours. GIF Construction Set Professional will perform some functions noticeably slower on such systems. A high-colour or true-colour Windows screen driver is strongly recommended. See the Drivers document for a complete discussion of screen drivers and how to correctly configure yours.

If you have a system with a sixteen-colour Windows screen driver installed, do not attempt to run GIF Construction Set Professional on it. GIF Construction Set Professional may become so horrified by sixteen-colour Windows screen drivers as to run screaming from the room and require eleven to fifteen weeks of intense therapy and post-traumatic counseling. You have been warned.

GIF Construction Set Professional occupies approximately eight megabytes of hard drive space - you can recover about three megabytes by deleting all the help, documentation and example files. This is not recommended unless you store them elsewhere or you have a breathtaking understanding of the software before you do so.

You can run GIF Construction Set professional under Windows 95, Windows 98 and Windows NT 4.0. It has not been tested under Windows NT 3.51 and it will not run under Windows 3.1 or Windows 3.11 with WIN32S even if you ask it really, really nicely.

GIF Construction Set Professional does not require any other specific software to be installed, with the exception of the Paint application which comes with Windows.




Image Strip


The Image Strip function in the GIF Construction Set Block menu will export a multiple-image GIF file to a single image GIF file image strip. This will result in each of the images of your source GIF file being arranged one after the other in a long, narrow GIF file, much like the frames on a strip of movie film.

When the size of an image strip is calculated, GIF Construction Set will allow a space equal to the largest frame in the source file for each image. In a file with images of varying sizes, smaller images in the resultant image strip will be centered in a frame of the background colour of the file, as derived from the background colour of the source GIF file.

This feature is useful for creating Java applets which display images.

Here's what the options do:

  • Horizontal Strip: Creates an image strip in which the images are laid out horizontally.

  • Vertical Strip: Creates an image strip in which the images are laid out vertically.

  • Transparent Background: This will make the background colour of the image strip transparent. Use this feature carefully, as it might make some pixels in your images transparent too, if they happen to be the same as the background colour.

  • Descriptive Comment: This feature will add a comment block to your image strip GIF file which specifies the number of cells in the file and the dimensions of each cell.


NOTE: This function only affects the selected blocks in the current document window. To apply it to all the blocks in a GIF file, click on the green "Tag All" button. You must click on the appropriate Apply buttons to enable the changes made in this dialog.


Because of the large image dimensions which usually result from creating Image strips, GIF Construction Set document windows which display them may run in Text Only mode, and not show you a preview image. This is normal, and does not indicate a problem with your image strip. See the discussion of the Tool Bar elsewhere in this document.




Inserting Blocks


There are instances in which you might want to add blocks to a GIF file by hand. You can use GIF Construction Set ProfessionalÆs block insertion functions to add still more images to an animation, and to add Comment and Plain Text blocks to a GIF file.

Note that Plain Text blocks are not supported by all web browsers, and should not be used if youÆre creating GIF files for use on the web. When you see text in a GIF file, youÆre really looking at a graphic which looks like characters.

If you click on any block in a document window, youÆll find that a blue or red line will appear along the bottom of the block. This is the insertion caret. Think of it as having the same function as the flashing text cursor in a word processor. Whenever you insert a new block into a GIF file with GIF Construction Set Professional, the new block will appear after the block which currently has the insertion caret. The insertion caret will appear on the block youÆve most recently clicked on.

With the insertion caret currently positioned, you can insert a by:

  • Clicking on the green plus button in the tool bar

or

  • Selecting Insert Block from the Edit menu

In either case, a menu will appear. Select the type of the new block to be inserted.

If you insert a Comment or Plain Text block, a new block will be inserted immediately. You can subsequently double-click on the block in question to edit its contents.

A Comment block contains text which will not be visible when your GIF file is displayed. It can only be viewed with an application which looks for text in the block structure of a GIF file, such as GIF Construction Set or Graphic Workshop. Comment blocks are useful for including copyright statements and other background information about your GIF files.

Plain Text blocks include text which is displayed as part of your GIF file û but not by all web browsers. You can define the foreground and background colours of plain text, as well as assigning Control block attributes such as transparency. However, as Plain Text blocks are not useful on the web, you probably won't have much recourse to this feature of GIF Construction Set.

If you insert a new Image block, GIF Construction Set will prompt you for the name of one or more files to insert images from. You can select more than one source image at a time. Each will be created as a new Image block and inserted after the insertion caret.

If the palette of your inserted images differ from that of the GIF file you're inserting them into, you'll see a Palette dialog. The Palette dialog will allow you to tell GIF Construction Set how to deal with the disparity in colour palettes. Note that if your source images are in fact true-colour graphics, you'll always see the Palette dialog.

Here's what the Palette dialog options do:

  • Dither this Image to the Global Palette: If you select this option, your inserted image will be dithered to use the palette of your GIF file. This is the correct choice for photorealistic images.

  • Remap this Image to the Global Palette: If you select this option, your inserted image will be remapped to use the palette of your GIF file. This is the correct choice for line-art images.

  • Use a Local Palette for this Image: If you select this option, your inserted image will inserted into your GIF file using its own palette. While this will often produce much more attractive GIF files when they're displayed within GIF Construction Set, local-palette GIF files crash some web browsers and they can reach new heights of toenail-curling ugliness if they're displayed on machines having 256-colour Windows screen drivers. Don't use this option unless you have a convincing reason for doing so.

The Use this Selection for Subsequent Images option at the bottom of the Palette dialog will allow you to skip the Palette dialog for subsequent images if you insert more than one image at a time.

NOTE: While you can build a GIF file entirely by inserting Image blocks, this process does not allow you to create and match to a superpalette, as Animation Wizard does. Unless you've dealt with the palette considerations of your source images prior to inserting them into the GIF file you're building, you'll get better results with the Animation Wizard.




LED Signs


The LED Sign function in the GIF Construction Set Edit menu will allow you to create scrolling banners which resemble the LED signs found in subways, video stores, airports and many up-market churches. You can program GIF Construction Set's signs for colour changes, adjustable playback speed and varying sign dimensions.

The text for an LED sign is displayed in white LEDs by default. Technical sorts will observe that there's no such thing as white LEDs û we would note that this is only true in the real world, with which GIF Construction Set's LED signs have as little contact as possible. You can change the display colour at any point in the text by embedding a colour code. Colour codes consist of the @ sign followed by a letter. Here are the legal colour codes:

  • @R û red
  • @G û green
  • @B û blue
  • @C û cyan
  • @M û magenta
  • @Y û yellow
  • @W û white

Here's some example coded text:

This text is @Rred, @Ggreen, @Bblue, @Ccyan, @Mmagenta, @Yyellow, @Wand white.

This is what the colours would appear as in the LED sign function:

You can include as many colour changes as you like in a sign, as long as the total text length including the colour codes is no greater than 260 characters.

LED signs can generate a large number of individual images, and hence potentially large GIF files. Mitigating this to some extent is the nature of the individual images in a sign. They're sixteen-colour graphics, and use simple, predictable shapes that compress well. As such, it's possible to create fairly complex signs without necessarily making them unworkably long to download. Note the observations about file size below.

Here's what the controls in the LED Sign function do:

  • Loop: If this item is enabled, the sign will continually repeat itself. If it is not enabled, this sign will cycle once and go dark.

  • Show Dark Pixels: If this item is enabled, LEDs that are not lit up will be displayed as dark grey. Note that this will typically increase the file size of a GIF file containing an LED sign û you will probably want to leave this one disabled.

  • Smooth Scroll and Columns per Frame: If the Smooth Scroll option is enabled, the sign text will scroll smoothly, moving by the number of pixels defined in the Columns per Frame control. This should be set to one for the smoothest scrolling. If Smooth Scroll is disabled, the sign text will scroll by the width of one character per frame. This is arguably less attractive, but it will typically create signs with far fewer images, and as such much smaller file sizes. If you do create signs with smooth scrolling enabled and you need to reduce the final file size, try increasing the Columns per Frame value slightly. This will result in somewhat less smooth scrolling, but will reduce the number of images involved in displaying a complete sign quite a lot.

  • Compact Sign: If this item is enabled, GIF Construction Set will create small signs. If it's disabled, it will create large signs. Large signs look slick, but they result in much larger files.

  • Columns Wide: This field sets the number of vertical columns of LEDs in the sign to be created. Large values will result in wider signs, capable of displaying more text at once, but also in larger final files.

  • Delay: This field sets the delay in 1/100ths of a second between images. Increase this value to slow down the scrolling of an LED sign. Note that if you adjust the Smooth Scroll or Columns per Frame items in the LED Sign dialog, you'll probably have to change this value as well.

  • Palette Compression: If this option is enabled, your GIF file will be stored with the least possible colour depth.

The text in a sign can consist of any printable ASCII characters between ASCII 32, a space, and ASCII 126, a tilde. Any other characters will be displayed as a double dagger symbol.




Manage


The Manage function in the GIF Construction Set Block menu will let you globally change the Image and Control block attributes in your GIF files. It's useful for enabling lots of Control blocks at one time, disabling lots of Control blocks without wearing your mouse down to a puddle of molten plastic and for changing the display characteristics of multiple images.


NOTE: This function only affects the selected blocks in the current document window. To apply it to all the blocks in a GIF file, click on the green "Tag All" button. You must click on the appropriate Apply buttons to enable the changes made in this dialog.


Depending on the options you select, the Manage function's file selector will deal with Image or Control attributes. Specifically:

  • Enable Control Blocks: This option will enable the Control block attributes for each selected Image block.

  • Disable Control Blocks: This option will disable the Control block attributes for each selected Image block.

  • Set Control Blocks: This option will change the Control block attributes for each of the selected Image blocks with active Control blocks.

  • Image Block Position options: This section allows you to set the Left and Top fields of all the selected image blocks. If you enable the Absolute option, all the blocks will be set to the values specified. Otherwise, the left and top values will be incremented by the values specified, beginning with the left and top values for the first selected block.




Merge


The Merge feature in GIF Construction Set Block menu will allow you to import all the blocks in a GIF file except for the header block into the current document window. They will be inserted starting just after the block with the insertion caret. Image blocks will be handled using the same logic discussed for inserting individual image blocks û a dialog may appear prompting you to choose a strategy for handling palette conflicts. See the section of this document dealing with Inserting Blocks for more about this.

You can also merge blocks by opening the file to be merged, selecting the blocks you're interested in and dragging them to the document window they're to be merged into.




Movies


GIF Construction Set will convert AVI digitized video files into animated GIF files, and animated GIF files to AVI files. It also includes an AVI preview function to help you check out your AVI files prior to converting them.

Converting AVI files to GIF files is relatively uncomplicated. There are, however, two possible catches to using this feature - GIF files so created can get very large, and may take a while to create. The latter will be especially true if your source AVI file has a lot of frames, or frames with relatively large pixel dimensions. Ten-megabyte AVI files aren't uncommon - ten megabyte GIF files are not well regarded as adjuncts to web pages.

To convert an AVI file to GIF, select Convert Movie to GIF from the Movie item of the File menu of GIF Construction Set. Select a source AVI file. A dialog will appear to let you choose a colour management strategy for your GIF file. Here are the choices and what they mean. The discussion of palettes elsewhere in this document will help you sort some of these out, if a quick read of them leaves you thinking that you should have studied remedial Martian in high school.

  • Dither to the 216-colour safe palette: This option will dither all the frames in your movie to the 216-colour "safe" palette. This is technically the safest choice for movies which will be displayed in web pages – it will introduce some dithering into your movies, but it will avoid radical colour shifts even on embarassingly cheap computers.

  • Remap to the 216-colour safe palette: This option will remap all the frames in your movie to the 216-colour "safe" palette.

  • Dither to the 256-colour orthogonal palette: This option will dither all the frames in your movie to the 256-colour orthogonal palette.

  • Remap to the 256-colour orthogonal palette: This option will remap all the frames in your movie to the 256-colour orthogonal palette.

  • Use source image palette: This option will make no attempt to adjust the source palette of the movie being converted, and it won't dither anything. This will unquestionably produce the best-looking results for movies to be displayed on machines with 32,768-colour screen drivers or better. Machines with 256-colour drivers will probably introduce some colour shifts into movies converted with this option. Life's a bitch this way. This option is also vastly quicker than the previous four, as it doesn't have to process each frame of the source image. You can't use this option with 24-bit source movies.

  • Dither to Superpalette: This option will survey all the frames in your source AVI file and create a palette which best reflects their use of colour. All your source frames will be dithered to this palette. This option will typically produce the best results for photorealistic source AVI files.

  • Remap to Superpalette: This option will survey all the frames in your source AVI file and create a palette which best reflects their use of colour. All your source frames will be remapped to this palette. This option will typically produce the best results for line-art source AVI files.

Plan to experiment with this to get the best results. Keep in mind that squeezing a true-colour movie into a 256-colour GIF file will always introduce some image degradation into the images therein.

You can convert animated GIF files to AVI files through the GIF to Movie option of the Movie item of the File menu. For the most part, this will be a fairly transparent process - there are a few things to keep in mind, however.

  • You cannot convert GIF files having local palettes for some or all of their images to AVI files.

  • Each frame in an AVI file must appear for the same length of time. GIF Construction Set will set the frame delay time for AVI files at the longest delay time of all the frames in your source GIF file.

  • Plain Text blocks are ignored by the GIF to AVI converter.

  • You must have at least two Image blocks in your source GIF file to convert to AVI.

  • Compressed AVI files are lossy û they sacrifice some detail for better file compression. You can adjust the amount of detail loss in an AVI file being written by GIF Construction Set by setting the AVI Quality Factor value in the Setup dialog. The quality factor can range from 10 to 10000, where 10000 will leave you with almost perfect reproduction and truly enormous AVI files. You can also turn off AVI compression entirely by disabling the Write Compressed AVI Files option in Setup. This is useful if you'll be creating AVI files to use with Visual BASIC, which can only accept uncompressed AVI files as of this writing.

  • If you convert a very small GIF file to AVI, it may not play properly in some applications as its window will be stretched to allow for a title bar, minimize and maximize buttons and so on. There's nothing actually wrong with the file - this is just how some AVI players handle tiny files.

  • Loop blocks are ignored by AVI files - you can't specify looping in an AVI movie.

  • Dithered images converted to AVI files will typically lose some quality û set the AVI Quality Factor set to a high value to minimize this.

  • Converting GIF files to AVI movies will almost always result in AVI files which are several times the size of the source GIF files from whence they have come.


NOTE: The AVI files created by GIF Construction Set are written by a library included with Windows, called a "codec." As it's shipped, Windows writes fairly conventional, widely accepted AVI files. Some applications replace the standard Windows AVI codec with a non-standard codec when they're installed. If the AVI files being created by GIF Construction Set don't get along with the applications you import them into, either your target application is looking for non-standard AVI files, or your codec is creating them.


The Preview Movie function of the Movie item of the File menu will let you see what an AVI movie looks like before you convert it to GIF, and check the results of converting to AVI files. It uses the standard Windows AVI functions to play AVI movies.




Opening and Saving GIF Files


Any GIF 87a or 89a file can be opened into GIF Construction Set. Files created with GIF 87a headers will be converted internally to GIF 89a files. You can open a GIF file either by selecting the Open item from the File menu of GIF Construction Set or by clicking on the Open button in the tool bar.

NOTE: GIF Construction Set will import images from several popular image file formats, but its Open function will only open GIF files. For reasons which escape most people who don't live entirely in cyberspace, some graphics on the web are named using the wrong extensions. For example, you might find files named with the extension GIF, when they're really JPG files. If you attempt to open such a file with GIF Construction Set, nothing useful will happen. We recommend that you have a look at the Identify Mystery Files function of our Graphic Workshop Professional software to sort these files out.

The Save and Save As functions of the File menu will save your current GIF file to disk. All GIF files written by GIF Construction Set for Windows will have GIF 89a headers.

GIF Construction Set Professional may append one or more comment blocks to the GIF files it writes. While these are discussed in greater detail elsewhere in the documentation for the software, there are two specific Comment blocks you might want to keep in mind:

  • Unregistered Shareware: If you use an unregistered shareware copy of GIF Construction Set Professional to create a GIF file, a comment block to this effect will be added to the file. You can delete these within GIF Construction Set ProfessionalÆs document windows, but theyÆll be replaced as soon as you save the file.

    At such time as you register GIF Construction Set Professional, you can nuke the Unregistered Shareware comment blocks in GIF files you created by opening each one with your registered software, deleting the Unregistered Shareware Comment blocks and saving the files. Only a registered copy of GIF Construction Set Professional can successfully delete an Unregistered Shareware Comment block.

  • Identify Files: By default, every file created by GIF Construction Set Professional will include a Comment block which identifies who created it. You can disable this feature entirely by switching off Identify Files in the GIF Construction Set Professional Setup dialog, or configure the software to use text of your own choosing. See the discussion of the Setup dialog for more about the latter.




Palettes


In addition to this entry, please see Palettes and Why you Should Fear Them in the Tutorial document.

GIF Construction Set offers a selection of default palettes, to be used when it creates GIF files. These palettes will appear if you use the New function of the File menu, and in functions like Banners and Transitions.

The default palette for the New function is defined in the Setup dialog. The other functions of GIF Construction Set which offer default palettes include selection controls for them.

Here's what the default palettes do:

  • Black and white: This is a two-colour palette, predictably including the colours black and white.

  • Sixteen-colour Windows: This is the standard Windows sixteen-colour "reserved" palette.

  • Orthogonal palettes: These are palettes with even dispersals of colours from pure black through pure white. Because of the mathematics of calculating these palettes, none of them include any pure greys, and the 32-colour orthogonal palette is somewhat deficient in blues.

  • 216-colour Netscape: This is what's called the Netscape "safe" palette. It includes the 216 colours guaranteed to be available to all web browsers. Note that this palette is equally applicable to Internet Explorer.

  • 256-colour with Greys: This is a 224-colour orthogonal palette with 32 pure grey levels added to it.

  • 256 Grey Levels: This palette consists of 256 shades of grey from pure black to pure white, and no other colours.

In a technical sense, you should always build GIF files for use on the web using the 216-colour Netscape safe palette. For reasons discussed in Palettes and Why you Should Fear Them, however, you probably will not wish to do so much of the time.

Here's a bit more palette lore. Some functions of GIF Construction Set refer to superpalettes. A superpalette is one in which all the source images destined for inclusion in an animated GIF file are surveyed, and a palette is derived for them based on how they all use colour. Animations built to a superpalette typically look a lot better than those built to one of the aforementioned canned palettes.

Some of the effects in the Banners function of GIF Construction Set offer smooth palettes. These are custom palettes which include the greatest range of colours likely to be used in effects which involve gradations of colour. For example, in creating a soft shadow, the shadow will require a lot of slight variations on the shadow colour. Smooth palettes will typically provide the most attractive results for those situations where they're applicable.




Overlay


The Overlay function will allow you to create animated GIF files in which one frame appears to float over the movement in some or all of the other frames. The Overlay function is extremely effective, but it does require some forethought to use correctly.

It also helps to understand what it's really up to.

While the example overlay shown here seems to have its text appearing above the wave animation, all that this graphic really consists of is the text painted over every frame. As the text doesn't move and it's never overwritten, it appears to remain motionless and unchanging while the wave moves.

You can use this technique with any still image and a suitable animated background.

To create an overlay:

  1. Build your source GIF file with the still image to be overlaid followed by all the frames of the animated background. In fact, the position of the still image relative to all the other images in your GIF file is immaterial, but putting it at the top of the list of blocks makes it easy to keep track of.

  2. Select all the blocks in your GIF file by clicking on the green Tag All button in the GIF Construction Set tool bar.

  3. Click once on the block that will be your still overlay - this will be the first Image block in this example. The selection caret should appear.

  4. Select Overlay from the Block menu. Click on Preview to see what your overlay looks like, or on OK to create a completed overlay animated GIF file.

There's an important catch in the foregoing. The image to be overlaid should have its background made transparent before you create the overlay. In the case of the small example overlay shown here, this has allowed the text to appear without a rectangular background, which would otherwise have obscured the animated wave. If you fail to do this, the Overlay function will warn you that there's no transparency enabled in your overlay image.

The Overlay function cannot be used with GIF files having local palettes.

It's worth noting that Overlay only affects those animated frames which are selected. Any frames which are not selected will be copied un-overlaid to the new GIF file being created. You can use this feature to overlay more than one image, or to create overlays which appear and disappear over the course of the complete animation.




Protection Matrix


The free and open nature of the web can often see your graphics being passed around cyberspace like drugs in a Frontline documentary. Because it's exceedingly easy to copy pictures from a web page, the pictures you create might effectively wind up in the public domain even if they're your intellectual property.

A lot of lawyers are going to get new BMWs one day soon for sorting this out.

There's no way to prevent the duplication of your web page graphics entirely, but the GIF Construction Set Professional Protection Matrix function will help discourage it. It breaks a single-image GIF file into a matrix of small tiles. If you include these tiles in your page using the HTML code created by the Protection Matrix generator, the tiles will appear to form a seamless graphic. However, when someone uses the Save Image As function of their web browser to copy your graphic, they'll only get one tile, not the whole image.

A protection matrix can be defeated by someone who's sufficiently determined, of course -- one could, for example, just screen-capture your image to a new file. However, using a protection matrix increases the difficulty in swiping your pictures considerably, and will help discourage casual image collectors.

There are several catches to the Protection Matrix feature. Because it creates multiple small GIF files to replace one original GIF file, it will increase the total downloadable file size involved. This will be considerably more apparent for files processed with an unregistered copy of GIF Construction Set Professional. Secondly, the Protection Matrix function can only work with single, non-animated GIF files. If you ask it to process a GIF file with multiple images, it will create a protection matrix from the first selected image and ignore the others.

Finally, a protection matrix graphic will require that you keep track of a fair number of GIF files, where once there was but a single file. This is, of course, why a protection matrix is effective at protecting your pictures.

To create a protection matrix:

  1. Open a single-image GIF file in GIF Construction Set Professional. The image dimensions for the picture must be at least 96 by 96 pixels.

  2. Select the Image block and select Protection Matrix from the Block menu.

  3. The Protection Matrix dialog will allow you to set the characteristics of the matrix to be constructed. The Tile Size control determines how large each tile in your matrix will be. A smaller tile size will create more tiles, and as such an image which is more difficult to copy. Doing so will also create more files, however, and as such increase the download time for your completed image.

  4. When a protection matrix is created, GIF Construction Set will write all the GIF files for your tile images and an HTML document which includes the code to display the tiles as a seamless graphic in your web page. This HTML document can include headers to make it visible in a web browser -- this function is handy if you'd like to see what a protection matrix looks like before you add it to your web page. Set the Include HTML Header switch on to have the Protection Matrix function include these headers, or off to have it omit the headers and create an HTML document with just the text you'll need to inhale into your page. Note that if you leave this switch on, you can easily remove the headers later with a text editor.

Click on Save when you're ready to create a protection matrix. The Save As dialog that appears will point to the location and base name for your protection matrix files. The base name will be used to generate your tile files by appending numbers to it. As such, if you select a base file name of PICTURE.GIF, the Protection Matrix function will create new files called PICTURE_1.GIF, PICTURE_2.GIF, PICTURE_3.GIF and so on.

The Protection Matrix function will also create an HTML document using the base file name you select. In this case, it would be called PICTURE.HTML.


NOTE: Protection Matrix does not check for the existence of previous files when it creates tiles. It will overwrite existing files of the same name if they exist.


Once Protection Matrix is finished writing tiles, click on Done. You can now add the matrix code from the HTML document it created to your web page. Note that this is actually an HTML table. You'll need to be able to edit the HTML document for your web page directly to do this. If you created a your protection matrix with the Include HTML Headers switch on, be sure to delete the headers before you add this code to your web page.




Reconstruct


The GIF Construction Set Supercompressor function – and several other GIF optimizers – reduce the size of GIF files by removing image information which is redundant from one block to the next. In effect, they prune away parts of your image frames which duplicate pixels in previous images. While this allows for smaller files, it makes such supercompressed animations decidedly tricky to edit, resize or otherwise manipulate.

The Reconstruct feature will un-supercompress animations, restoring them to a sequence of complete frames of identical pixel dimensions. It will remove transparency and un-prune frames which have been reduced. The resulting animation will be effectively what the GIF Construction Set Animation Wizard would have created for you from an initial sequence of still frames.

In using Reconstruct, note that:

  1. Your reconstructed GIF animation will appear identical to your source animation if you use the GIF Construction Set view function to see it in action. You'll probably notice changes in the pixel dimensions of some of the frames.

  2. If you save a reconstructed GIF animation to disk, it will likely be a lot larger than the supercompressed animation it started out as.

Once you have modified a reconstructed animation, you can run it through the Supercompressor function of GIF Construction Set to reduce its file size again.




Resize


The Resize function in the GIF Construction Set Block menu will allow you to change the size of one or more images in a GIF file. You can resize images by size or factor û that is, you can resize them to specific pixel dimensions or you can resize them by a percentage. Note that resizing to a factor of 100 percent has no effect. Resizing to a factor of 50 percent will result in a graphic which is half the size of the original. Resizing to a factor of 200 percent will result in a graphic which is twice the size of the original.

In resizing down, the Resize function throws away some of the pixels in your source image. In resizing up, it duplicates some of the pixels. As such, resizing always introduces some image degradation into your graphics. Use it carefully.


NOTE: This function only affects the selected blocks in the current document window. To apply it to all the blocks in a GIF file, click on the green "Tag All" button. You must click on the appropriate Apply buttons to enable the changes made in this dialog.





Reverse


The Reverse function will reverse the order of the Image and Plain Text blocks in a GIF file. It does not affect the position of Comment and Application blocks, which will retain their original order.




Scripting


Note: the Scripting feature of GIF Construction Set is quite technical and is in no way part of the primary function of the software. Unless you specifically need to have another program create GIF files automatically by calling GIF Construction Set, you are strongly advised to be nice to your mind and skip this section.

The scripting feature of GIF Construction Set allows another application to use GIF Construction Set as a GIF-building engine. In its script mode, GIF Construction Set will not display anything unless you ask it to. It reads a list of instructions from a text file, its "script", and builds a GIF file accordingly. When it's done, it terminates.

The script interpreter can't access the advanced features of GIF Construction Set, such as the supercompressor, the banner generator, the transition generator and so on, nor is it likely to in the future.

Unregistered users of GIF Construction Set will see the GIF Construction Set shareware beg notice when the script mode terminates. No notice will appear for registered users.

To run GIF Construction Set in script mode, you must pass it a path to your script file and append /S to the file name. For example, here's how you would run GIF Construction Set and have it execute the script called MYSCRIPT.SCR in the directory \TEXT.

C:\GIFConstructionSetProfessional\GCSPRO.EXE C:\TEXT\MYSCRIPT.SCR/S

A script file consists of commands for GIF Construction Set, with one command per line. Most commands generate GIF blocks. Commands usually have arguments which set parameters in the GIF blocks being created. An argument consists of the argument name, an equal sign and the argument data. For example, this argument defines a file path:

PATH=C:\PICTURES\VENUS.GIF

Here are the legal commands for a script file and their arguments. The commands and arguments shown in bold are mandatory û if they're not present, your script will not execute. If you omit the optional arguments, default values will be used. If a script fails to execute, no GIF file will be created and GIF Construction Set will return a non-zero error code.

Script arguments which include spaces must be surrounded by quotation marks, like this:

TEXT="This is a comment block"

Comment lines can be added to a script by preceding them with a semicolon. These lines will be ignored by GIF Construction Set.

STATUS

The STATUS command does not create a block in your GIF file. It's used to help you work out the problems in scripts that don't seem to be behaving themselves. It can be added to a script to create a log of what's happening when your script executes. It recognizes the following arguments:

PATH

The PATH argument should define a path to a text file which GIF Construction Set will create and write its log to. The log will include each of the script lines processed until the script is complete or until an error occurs. In the latter case, an error message will be the last entry in the log.

SHOWERROR

The SHOWERROR argument can be either TRUE or FALSE. If it's TRUE, a message window will appear when GIF Construction Set finishes processing a script or encounters an error.

FILENAME

The FILENAME command defines the file name and path for the file to be created by the script. It recognizes the following argument:

PATH

The PATH argument defines the destination file name.

HEADER

The HEADER command creates a Header block. The must be one HEADER command in every script file, and it must precede all other commands with the exception of STATUS and FILENAME. It recognizes the following arguments:

PATH

The PATH argument defines a file from which the global palette of the GIF file should be extracted. This can be either a GIF Construction Set CMP colour map file or an image file in any supported format. If PATH specifies a 24-bit image, the 256-colour orthogonal palette will be used. The PATH argument should not be used if the PALETTE argument is present. If neither PATH nor PALETTE are used, the default palette type as set in GIF Construction Set's Setup dialog will be used.

BACKGROUND

The BACKGROUND argument defines the colour index number of the background colour for the file. Its argument can be a number between zero and 255. Make sure that you don't specify a background value larger than the size of the global palette.

PALETTE

The PALETTE argument will select one of GIF Construction Set's default palette types. Its value must be one of the following:

PALETTE2 û Two colours
PALETTE16 û Sixteen-colour Windows reserved
PALETTE32 û 32-colour orthogonal
PALETTE64 û 64-colour orthogonal
PALETTE128 û 128-colour orthogonal
PALETTE216 û 216-colour Netscape
PALETTE256 û 256-colour orthogonal
PALETTE256G û 256-colour orthogonal with 32 greys
PALETTE256GREY û 256-level grey scale
LOCAL û No palette

The PALETTE argument should not be used if the PATH argument is present. If neither PATH nor PALETTE are used, the default palette type as set in GIF Construction Set's Setup dialog will be used.

IMAGE

The IMAGE command adds an Image block to your GIF file. It recognizes the following arguments:

PATH

The PATH argument defines a path to the source file for the Image block being created. The source image can be in any of the graphic file formats supported by GIF Construction Set.

MODE

The MODE argument tells GIF Construction Set how to manage the palette of this image if it doesn't match the global palette. The values for the MODE argument can be:

DITHER û Dither to the global palette
REMAP û Remap to the global palette
LOCAL û Use a local palette

LEFT

The LEFT argument defines the left position of the image. This value can be any positive number.

TOP

The TOP argument defines the left position of the image. This value can be any positive number.

COMMENT

The COMMENT command adds a comment block to your GIF files. It recognizes the following arguments:

TEXT

The TEXT argument defines the literal text to be used in the Comment block being created. It should be fairly short û command lines in Script mode are limited to 256 characters. The TEXT argument should not be used if the PATH command is present.

PATH

The PATH argument specifies a path to a plain ASCII text file from which text for a larger Comment block can be read. Formatted word processing documents and other sorts of files are not suitable. Up to 32767 characters can be included in a comment block, although few users of your GIF files will thank you if you include anything like this much text in them. The PATH argument should not be used if the TEXT command is present.

LOOP

The LOOP command adds a LOOP block. For proper operation, this command must appear immediately after the HEADER command. It recognizes the following argument:

ITERATIONS

The ITERATIONS argument defines the number of times your GIF file will loop. It must have a value between zero and 32767.

CONTROL

The CONTROL command adds a Control block to your GIF file. A GIF file should have one Control block before each Image block. The CONTROL command recognizes the following arguments:

DELAY

The DELAY argument specifies the number of 1/100ths of a second for the following image to be visible before it's removed. This number can range between zero and 32767.

TRANSPARENT

The TRANSPARENT argument specifies a transparent colour index. It must range between zero and 255. Make sure you don't specify a colour beyond the range of your image palette.

WAITFORINPUT

The WAITFORINPUT argument can be either TRUE or FALSE. It defines whether the Wait for User Input flag will be enabled in this Control block. Note that at present most web browsers ignore this flag.

REMOVEBY

The REMOVEBY argument defines the method by which your image will be removed from the screen when the delay period has expired. It can be one of the following values:

NOTHING û The image is left unremoved
ASIS û The image is left unremoved
PREVIOUS û The image is replaced by the previous image
BACKGROUND û The image is replaced by the background

Note that under most web browsers, only NOTHING and BACKGROUND are recognized.

Here's an example script file:

;
; EXAMPLE SCRIPT
;
STATUS PATH="c:\test.txt" SHOWERROR=TRUE
LOOP ITERATIONS=10000
FILENAME PATH="c:\test.gif"
HEADER BITS=8 PATH="C:\GIF\APR89.GIF"
CONTROL INTERLACE=TRUE
IMAGE PATH="C:\GIF\APR89.GIF" MODE=DITHER
COMMENT TEXT="This is an example comment block."
COMMENT PATH="c:\text\textfile.txt"
CONTROL DELAY=1000 REMOVEBY=PREVIOUS
IMAGE PATH="C:\GIF\WINGS.GIF" MODE=DITHER INTERLACE=TRUE
;
;END OF SCRIPT
;

Keep in mind that the script mode has fairly limited sanity checking û if you fill its brain with monkey dandruff, you'll probably find monkey dandruff in your GIF file.




Setup


The Setup dialog can be accessed by selecting Setup from the File menu, or by clicking on the Setup button in the tool bar.

  • Anti-alias Density: This item sets the degree of aggressiveness with which GIF Construction Set will apply anti-aliasing in those functions for which it's available. Increasing this value will increase the degree of anti-alias compensation. See this discussion of anti-aliasing elsewhere in this document.

  • AVI Quality Factor: This item sets the quality factor for writing AVI files. It can range from 100 for unspeakably ugly to 10000 for almost perfect reproduction. See the discussion of movies elsewhere in this document for more about this value.

  • Default Palette: This item sets the initial palette size for the header of blank GIF files created with the New function of the File menu. There are a number of palette options. See the discussion of palettes elsewhere in this document.

    • 256 colours: This palette has an even dispersal of colours between black and white.

    • 256 colours with grey: This palette has an even dispersal of colours between black and white, but it includes 32 levels of grey.

    • 216 colours/safe: This is the palette web browsers use to remap colour images to for a 256-colour machine.

    • 32, 64 and 128 colours: These are evenly dispersed palettes. The 32-colour palette is a bit deficient in blues.

    • 16 colours: This is the sixteen-colour Windows palette.

    • 2 colours: This palette includes all the colours of the rainbow, provided they're black and white.

  • Default View Mode: This item sets the default view mode for new document windows. See the discussion of the tool bar elsewhere in this document.

  • Display Interlaced: If this switch is enabled, image blocks with interlaced images will display in interlaced order in View windows.

  • Fast colour matching: If this switch is enabled, GIF Construction Set will use colour matching which is fast, but less accurate. Disable this switch for better dithering and closer colour matches.

  • Identify Files: If this option is enabled, GIF Construction Set will add a comment block to each GIF file it writes. The comment block will identify of the owner of the copy of GIF Construction Set that wrote the file. If you're a registered user of the software, this will be your registration name and the company you work for, as entered when you installed Windows. If you're using an unregistered copy of GIF Construction Set, this will be your name and company as entered when you installed Windows, or a message stating that this information could not be found. Alternately, you can supply your own text for this block. See the discussion of Identification Text File.

  • Identification Text File: You can configure GIF Construction Set to add a Comment block with your choice of text in it to every file you create. To do this, create your text in a plain ASCII text file using the Windows Notepad application. Save the file in your GIF Construction Set Professional parent directory. Having done so, select this file using the Browse button of the Identification Text File field. Make sure the Identify Files option has been enabled.

    The text file pointed to by Identification Text File must be plain ASCII text, not a word processor document. It can contain up to 16000 characters, although few users of your GIF files will thank you for including anything like this much comment text in them. Tabs will be replaced by single spaces.

  • Interlace Delay: This item sets the number of thousandths of a second to wait between lines when an interlaced image is displayed. This value will be ignored if the Display Interlace item is not enabled. Animated graphics don't display as interlaced.

  • JPEG Quality: This item defines the degree of detail loss used when exporting images to the JPEG format û this applies to functions such as the Button creator. Reduce this value to create smaller JPEG files, and increase it to make the graphics stored in them look more attractive. See the discussion of JPEG files in the graphics tutorial if you're unsure about how this works.

  • Maximize Paint: Enable this item to cause Windows Paint to be maximized when it's called from an Image block editor. Disable it to allow Windows Paint to open normally.

  • Optimum Vertical Windows: Enable this item to have GIF Construction Set's document windows adjusted to use as much of the vertical window space as possible. Disable it to have them created at the default size for a document window. Note that if this item is enabled, the default vertical window size will leave a gap between it and the bottom of the GIF Construction Set application window to allow for minimized documents.

  • Registration Code: Your registration code is provided when you register GIF Construction Set Professional. If you received GIF Construction Set Professional on an Alchemy Mindworks CD-ROM, it's on your invoice in the line item for GIF Construction Set Professional. It will look like this:

      GIF Construction Set Pro REG # 12345-12-67890-88 $20.00

    If you have received a confirmation e-mail message after registering GIF Construction Set, it will appear in this message, like this:

      1 GIF Construction Set Pro REG CODE 12345-12-67890-88

    GIF Construction Set Professional registration codes are all 17 characters long, in the form of one five-digit group of numbers, a dash, one two-digit group of numbers, a dash, a second five-digit group on numbers, a dash and a final two-digit group of numbers. You must enter your code exactly in the Registration Code field to successfully register GIF Construction Set. The dashes separating the digit groups are not entered.

    Note: Once it has been entered, your registration code will not be displayed by GIF Construction Set. If you have cause to re-install GIF Construction Set in the future, you will require your registration name and code. Write them down now and store them in a safe place.

  • Registration Name: Your registration code is a complex checksum based on the characters of your name. If your name is not entered correctly in the Registration Name field, your registration code will not be accepted. Your registration name is printed on your invoice and is included in the confirmation e-mail message you received when you registered GIF Construction Set. It must be entered exactly - all the characters, spaces and punctuation in your registration name as it is provided to you must match what you enter in the Registration Name field.

  • Search for Paintbrush: If this item is enabled and Windows Paint û the MSPAINT.EXE file û is not found when GIF Construction Set boots up, the software will search your had drive for it. Disable this item if Windows Paint is not on your system. Note that if you have Windows Paint on your system, and GIF Construction Set has located it, this item will be ignored.

  • Show Startup Window: Enable this item to have the startup logo window displayed when GIF Construction Set boots up.

  • Show Tip of the Day: Enable this item to have the tip of the day displayed when GIF Construction Set boots up.

  • Warn Before Deleting Multiple Blocks: Enable this item to be warned if you click on the Delete button or hit Del when you have multiple blocks selected in a document window.

  • Warn for Remove By Errors: Enable this item to be warned if you attempt to create or edit a GIF file with one or more remove-by fields set inappropriately for the transparency effects you've selected.

  • Warn for Remove By Previous Image: Enable this item to be warned if you attempt to create or edit a GIF file with one or more remove-by fields set incorrectly.

  • Warn for Wait for User Input: Enable this item to be warned if you attempt to create or edit a GIF file with one or more Wait for User Input flags selected.

  • Write Compressed AVI Files: Enable this item to have the GIF to Movie feature of GIF Construction Set write compressed AVI files. See Movies for more about this option. Disable this item if you'll be creating AVI files to use with Visual BASIC, which can only accept uncompressed AVI files as of this writing.

  • Write Directory Blocks: Enable this item to have GIF Construction Set preserve the titles of the image blocks in your GIF file in a Block Title. Block Title blocks are written after all the other blocks in a GIF file. They're is helpful in keeping track of the images in an animation sequence, for example. This item should be disabled if you're creating final GIF files for use on web pages, as Block Title blocks will increase the size of your GIF files.

  • Write Uncompressed GIF Files: Enable this item to have GIF Construction Set store all the images in the GIF files it creates uncompressed. Such files are legal GIF files, and can be read by other GIF readers. However, they embody no LZW compression û they can also be read by LZW-free GIF readers. Note that uncompressed GIF files will typically be larger than their raw image data by a considerable margin. Unless you have a good reasons for doing otherwise, leave this item off.




Single Image


The Single Image function in the GIF Construction Set Block menu will create a new, single-image GIF document which contains all the display elements of a multiple image GIF file. It will export what you would see on your screen if you were to click on View. Note that it will ignore image blocks which would be removed to the background image or removed by the background.


NOTE: This function only affects the selected blocks in the current document window. To apply it to all the blocks in a GIF file, click on the green "Tag All" button. You must click on the appropriate Apply buttons to enable the changes made in this dialog.





Spin


The Spin function in the Edit menu will rotate an existing image in two dimensions. It can be used to create animated GIF animations which look like a spinning wheel or other revolving object seen face-on.


NOTE: The Spin function only rotates in two dimensions. Think of a phonograph record, or if you're too young to have seen one outside a museum, think of a CD-ROM viewed from above. This is distinct from rotation in three dimensions, which requires a three-dimensional modeling package, ray tracing and several hours of rendering time. GIF Construction Set can do the former û it cannot do the latter, nor is it likely to any time soon. If you contact us about how to do three-dimensional rotation using the Spin function, we will with the greatest regret be forced to dispatch the oft-mentioned leather-winged demon of the night to do something unspeakably nasty to you.


Here's what the Spin dialog's controls do:

  • Select: Before you can use the Spin function, you must decide what you want to spin. The Select button will allow you to select a source image file. Source images scan be drawn from any of the supported file types listed elsewhere in this document. Note that if you select a multiple-image GIF file as your source image, only the first image in the file will be used.

  • Direction: You can specify clockwise or counterclockwise rotation.

  • Steps: The Steps value determines the number of degrees each image in your final file will be rotated, and as such, the number of frames in your final GIF file. This can range from 2 to 360. More steps will result in smoother animation, but with larger final files and slower movement.

  • Delay: The Delay option sets the number of 100ths of a second between cells for a spin effect.

  • Loop: The Loop option determines whether the spin effect will repeat indefinitely or only rotate once.

  • Transparent Background: The Transparent Background option sets the background colour to be transparent for the spin effect you're creating.

  • Remap to Default Palette: The Remap to Default Palette option will cause your source image to be adjusted to use the currently selected default palette, as configured in the Setup dialog.

  • Background: The Background colour button sets the background to be used in creating spin effects.

  • Test: The Test button will let you preview your graphic.

  • Destination Rectangle: These controls determine the size of the area in which your graphic will rotate. The Maximum option will create a final GIF file which is big enough to include all the rotated parts of your source image. The Minimum option will create a final GIF file which only encompasses the area that's common to all the rotated frames. The Original option will create a final GIF file which has the same dimensions as your source image.

  • Palette Compression: If the palette compression option is enabled, your GIF file will be stored with the least possible colour depth.

Note that rotating a bitmap will usually impose some rotation artifacts on it û you might find that your image is slightly degraded at some rotation angles. This will be a lot more apparent if you use dithered source images.




Supercompressor


In creating GIF animations for the web, itÆs important to make the final GIF files that are referenced by your HTML documents as small as possible. The unspeakable, breathtaking excellence of your animations wonÆt impress anyone if they lapse into comas while waiting for your GIF files to download.

In some cases, itÆs possible for sufficiently sneaky software to squeeze some unnecessary pixels out of your animations and in so doing create smaller GIF files. The sufficiently sneaky software is the supercompressor function in GIF Construction Set Professional.

ItÆs important to keep in mind what the supercompressor is really up to. All GIF files are compressed. The supercompressor attempts to meddle with the blocks in your GIF files to make them more compressible. In some cases it can do quite a bit in this respect, and in others itÆs wholly ineffective. If thereÆs nothing to squeeze out of your GIF file, the supercompressor will not make it any smaller.

The supercompressor makes GIF files smaller by doing one or more of the following to them:

  • Palette Compression: Just because your GIF file has a 256-colour palette doesnÆt mean that all the colours in its palette actually appear in its images. The supercompressor surveys all the images in a GIF file and deletes those colours from the fileÆs palette which arenÆt actually referenced by any of them. If it finds enough unused colours, it will often be able to make the palette smaller, and hence recompress the file with a lower colour depth.

  • Prune Overlapping Frames: If an animation consists of multiple frames in which only the area in the middle of each frame actually contains action that changes, the supercompressor will prune away the edges of the frames and move whatÆs left down and to the right so it appears in the correct location.

  • Redundancy Compression: If an animation consists of multiple frames with a lot of identical areas, the supercompressor will replace the identical pixels with a transparent colour. Since all the replaced pixels will be one colour - the transparent colour - and areas of pixels that are all the same colour typically compress better than areas of pixels that are a variety of colours, the resulting GIF file will get smaller.

  • Block Stripping: GIF files donÆt need Comment, Plain Text or Application blocks to display themselves on your web page. The supercompressor can remove them for you.

The supercompressor will not change the way your animation appears, but it might well change what the individual frames look like. ItÆs a profoundly good idea to save your original source images under a different file name when you use the supercompressor. Once an animation has been supercompressed, itÆs will often be very, very difficult to edit.

The supercompressor will not perform pruning or redundancy compression on GIF files which have one or more Image blocks with transparency enabled.

To use the supercompressor, open a GIF file in GIF Construction Set Professional and select Supercompressor from the File menu. Note that you can disable any compression types you donÆt want to use, and the supercompressor will disable any compression types it decides are inappropriate for your GIF file. Click on Start to begin compressing. The OK button will be enabled when the supercompressor is done. When you click on OK, your supercompressed graphic will open in a new document window.

If the supercompressor canÆt find anything to squeeze out of your GIF file, it will tell you so and the OK button will not be enabled.


NOTE: The supercompressor is good, but itÆs not God. It canÆt take a half-megabyte bloated pig of a GIF file and Jenny Craig it down to ten kilobytes just æcoz you really need a small file. Really huge complex animations typically require a rethink to get them down to manageable dimensions.





System Information


The System Information dialog will provide you with an overview of the configuration of your computer. This can be useful in unraveling configuration issues. It includes the following:

  • Screen Width and Screen Depth: These are the dimensions in pixels of your current screen display mode.

  • Network Present: If this field is set to Yes, Windows is of the opinion that your computer is connected to a network of some sort.

  • Slow Machine: This field indicates Windows' assessment of the speed of your computer û don't take it personally.

  • Windows Version: This is the internal version number for your installation of Windows.

  • Machine Owner: This is the owner name used when you installed Windows.

  • Organization: This is the organization or company name used when you installed Windows.

  • Colour Depth: The last item in the System Information dialog indicates the number of colours which your current Windows screen driver can display without dithering. If this number is 256 or less, GIF Construction Set Professional is running a lot slower and looking a lot uglier than it needs to. See the Drivers document for help in reconfiguring your Windows screen driver.




Tool Bar


The GIF Construction Set tool bar provides access to the most commonly used functions supported by the software. All its buttons duplicate functions available in the main menu, but buttons are easier to get at than menus. The tool bar buttons have associated tip windows - if you forget what a button does, place your mouse cursor over it for a moment and a window will appear to explain its function.

The functions dispatched by the tool bar always pertain to the topmost document window if you have multiple documents open. The tool bar buttons which process blocks will be disabled if no files are selected in the topmost document window.

Here are all the tool bar buttons. Each of these functions is explained in detail elsewhere in this document.

  • Open: Opens a GIF file into a new document window.

  • Save: Saves the currently active document window to disk.

  • View: Views the GIF file in the current document window.

  • Animation Wizard: Activates the Animation Wizard, as discussed elsewhere in this document.

  • Insert Block: Inserts one or more blocks after the insertion caret in the current document window.

  • Delete Block: Deletes all the selected blocks in the current document window.

  • Select All: Selects all the blocks in the current document window.

  • Unselect All: Unselects all the blocks in the current document window.

  • Manage: Manages all the selected blocks.

  • Manual: Opens the top page of the GIF Construction Set manual document.

  • Help: Displays the contents of the Help for GIF Construction Set.

  • Setup: Accesses the Setup dialog for GIF Construction Set.

  • Exit: Exits GIF Construction Set.


NOTE: Some of the tools in the tool bar require that one or more blocks in the current document window be selected before they'll become active.


The View Mode combo box at the left side of the tool bar selects the degree of zoom used to display the preview images in the current document window. The default view mode, 100 Percent, will display the images in a GIF file at their natural size. There's a limit to the dimensions of a Windows list box item, and GIF Construction Set will not allow you to select a view mode that will exceed this. If you attempt to do it, it will reset the View Mode combo box to a lower value.

The Text Only view mode will display just the descriptive block captions for a GIF file, and no preview images. GIF Construction Set will automatically select this mode if you attempt to view a really enormous GIF image.




Transitions


The Transitions function in the Edit menu will create animated transitions between multiple still images. These can range from simple wipes and dissolves to complex special effects.

You can add as many images as you like to the Transition function and have it create a final animated GIF file which contains all the frames of the effects you've chosen. Here are a few examples of the Transition function at work û the permutations available to move between pictures are diverse.


Several examples of the effects available in the Transitions function of GIF Construction Set. These image fragments have been drawn from the Alchemy Mindworks Indecent Images CD_ROM. The source graphics are copyright © Christies Images.


To create a transition, select Transitions from the Edit menu of GIF Construction Set. Click on the Add button. A File Open dialog will appear to select source image files. You can build a transition from any combination of the file types GIF Construction Set recognizes, including GIF, JPG and BMP.

You can click and drag selections around the Transitions list box.

Once you have added the source images for your transition, select a default transition. Here's what the transition types do:

  • Blocks: Your images will dissolve in a sequence of blocks which increase in size.

  • Dissolve: Your images will fade from one graphic to the next.

  • Interlace: Your images will dissolve in a complex interlace of pixels.

  • None: Your images will transition from one graphic to the with no animation. This is a quick way to make slide shows.

  • Radar: Your images will transition from one graphic to the next in a pie-shaped segment that gradually expands.

  • Raster: Your images will transition from one graphic to the next as a sequence of bars. There are horizontal and vertical rasters available.

  • Roll: Your images will transition from one graphic to the next by rolling one image above the previous one. This looks like paper emerging from a photocopier.

  • Sandstorm: Your images will transition from one graphic to the next in a random scattering of pixels.

  • Spinners: Your images will appear to rotate on a moving sign. There are four spinner options, one for each direction.

  • Split: Your images will transition from one graphic to the next by splitting into two. There are horizontal and vertical splits available.

  • Tile: Your images will transition from one graphic to the next in a random scattering of square tiles.

  • Wipe: Your images will transition from one graphic to the next by wiping. There are four wipe options, one from each direction.

There are several other controls in the Transitions dialog:

  • Delay: This defines the number of hundredths of a second between images in your transition. Increase this value to slow your animation down.

  • Pause: This defines the delay for images between transitions. It should typically be somewhat longer than Delay.

  • Dither: Enable this item to have your transition images dithered to the selected palette. Disable this item to have them remapped. Dithering will provide somewhat better colour management, especially for photorealistic subjects, at the cost of some image resolution.

  • Custom Palette: Enable this item to have a superpalette created for your transition. Disable it to use the selected palette for your final animated transition.

  • Anti-alias: Enable this item to have your transition images anti-aliased. See the discussion of anti-aliasing elsewhere in this document for more about this feature.

  • Palette: This defines the default palette from which the matt colour for your transition will be drawn, and to which it will be dithered or remapped if you don't enable Custom Palette. Note that while this palette selector supports palettes with fewer than 216 colours, some of the transition effects will look very strange indeed if you use them.

  • Matt Colour: All the frames in a transition must have the same dimensions in pixels. If you attempt to create a transition with source images of various dimensions, your final transition will have the dimensions of the largest of your source images, with the smaller images insert into a matt of a colour defined by this item.

  • Advanced: The Advanced button will provide you with access to a number of controls to fine-tune parameters of the Transitions dialog. It's a good idea not to mess with these unless you understand what they're up to.

    • Sandstorm Block Size: This is the number of points that will be painted per frame for the Sandstorm transition. Increasing this value will create fewer frames, but with coarser action.

    • Horizontal Step: This is how far transitions which move horizontally will shift in one frame. This affects effects like Horizontal Wipe and Horizontal Raster.

    • Vertical Step: This is how far transitions which move horizontally will shift in one frame. This affects effects like Vertical Wipe and Vertical Raster.

    • Block Spacing: This is the distance in pixels between the expanding tiles in the Blocks transition.

    • Raster Size: This is the thickness in pixels of the lines in the Raster transitions.

    • Tile Size: This is the size in pixels of the tiles in the Tile transition.

    • Tile Block Size: This is the number of tiles that will be painted per frame for the Tile transition. Increasing this value will create fewer frames, but with coarser action.

    • Dissolve Step Size: This is the amount of blending per frame in the Dissolve transition. Increasing this value will produce dissolves with fewer steps but with coarser action.

    • Radar Start Angle: This is the angle at which the Radar effect begins, in degrees.

    • Radar Step Angle: This is the amount by which the Radar effect moves per frame, in degrees.


NOTE: The Transitions function is capable of creating some alarmingly large GIF files. Complex transitions may add many new frames to your animation, in addition to those of your source images. In creating transitions with GIF Construction Set, start with a small number of images with modest pixel dimensions. Supercompressor will make some transition GIF files markedly smaller û and others will just laugh at it.

The Transitions function does not have a finite upper limit for either the size or the dimensions of the images it can support. However, if you feed it a large number of images with lots of pixels, it will probably create a final GIF file that's too big to be of much use. It might also run out of memory in extreme cases.





Undo


The Undo item of the Edit menu will undo the most recent change you've made to the GIF file in the uppermost document window. This item will be disabled if there's nothing to undo.




View


The View function of the GIF Construction Set Block menu can also be accessed through the View button in the tool bar. Select View to view a still or animated GIF file. The View mode will display all the animated elements of your GIF files, including transparency.

Click with your right mouse button to exit a View window.




Wide Palette GIF


The Wide Palette GIF function in GIF Construction Set's Edit menu will let you create GIF files which can display more than 256 colours. This probably sounds much more useful than it really is û while it genuinely works, it embodies some serious catches. Before you use this feature, please take a moment to understand what it's up to so you don't wind up bashing your head against a wall in frustration.

Alchemy Mindworks will not be responsible for any damage you do to your head or your walls should you fail to heed this advice.

A GIF image can only store a maximum of 256 colours. However, a GIF file can store any number of images. If each image has its own local palette, it's possible to have more than 256 different colours stored in the file.

This is what wide palette GIF files do. If the source image you wish to store in one has 510 distinct colours, GIF Construction Set will create a GIF file with two Image blocks. The first Image block will have a local palette with the first 255 colours of your source image in it. The second Image block will have a local palette with the second 255 colours from your source image. Each palette will also have one colour which does not appear anywhere in your source image, to be used as a transparent colour.

In discussing wide palette GIF files, the Image blocks that your source image will be split into are called "panes".

The actual images will be constructed such that those pixels of your source image which appeared in their palettes will appear in the images in question, and the transparent colour will appear everywhere else.

When such a GIF file is displayed, the first Image block will take care of the first 255 colours, and the second Image block will take care of the second 255 colours. Because the "unused" pixels are transparent, the two frames will essentially be merged when the display is completely updated, with the result that 510 distinct colours will be displayed.

In practical terms, a 24-bit source image must be "quantized" to derive a suitable list of colours, that is, a large palette must be derived from it based on the dispersal of source colours. The Wide Palette GIF function lets you select how large this palette can get.

Wide palette GIF files allow you to enjoy lossless images having lots of colours in a format which is compatible with existing web browsers. However, they embody some important catches, as follows:

  • Wide palette GIF files tend to get large, as they require that a single 24-bit image be split into multiple 256-colour images, each of which must be stored separately.

  • While Netscape, Internet Explorer, Graphic Workshop and GIF Construction Set will display wide palette GIF files correctly, almost nothing else will. This includes most GIF viewers and paint packages.

  • If a wide palette GIF file is displayed on a system running with a 256-colour screen driver, it will look really awful.

  • Wide palette GIF files cannot include transparency, as they use transparent colours for their own purposes. They could in theory be animated, if you wanted to push the envelope, but the results would be very, very slow and quite ugly.

Here's what the controls in the Wide Palette GIF dialog do:

  • Maximum number of colours: This sets the maximum possible wide palette size. If your image turns out to have fewer distinct colours than this, the palette may get smaller. As each pane in a wide palette GIF file can hold a maximum of 255 colours û plus one transparent colour û this also defines the maximum number of panes.

  • Interlace: If this option is enabled, the pane images of your wide palette GIF file will be written interlaced. This looks really slick in GIF Construction Set, but it will typically have no effect in a web browser, which do not display interlaced images as interlaced when they occur in multiple image GIF files.

  • Add Initial Sketch Image: If this option is enabled, the panes of your wide palette GIF file will be preceded by a fairly coarse sixteen-colour version of the image, which will eventually be wholly overwritten by the following panes. It's something to look at in the mean time, however. Turn this feature off if you want to create slightly smaller GIF files. The sketch image ignores the Interlace option, and is always non-interlaced.

  • Fifteen-bit Quantize: This option will allow the wide palette GIF function to choose a better wide colour palette. It takes a lot longer to complete its work, however.

  • Wide Palette Dither: This option allows the wide palette GIF function to dither its images, minimizing the banding effects of colour remapping. Dithering with several thousand colours looks really sharp.

  • Select: Use this button to load a source image. Source images must be stored as 24-bit files û that is, as true-colour BMP, JPG, TGA, PCX and PNG files, and other suitable formats. You cannot use a GIF file as the source for the Wide Palette GIF function.

  • Sorted Palette: If this option is enabled, the wide palette created by the Wide Palette GIF function will be sorted, such that the brightest colours appear first, and turn up in the first panes. If it's not enabled, the palette colours will appear randomly. This won't affect how your wide palette GIF images look when they're finally displayed, but it does affect what they look like as they're being built up on your screen. This is especially true if you enable the Interlaced switch.

  • Test: This function will test a wide palette GIF image. Considering the time it takes to create one of these things, you might want to skip the Test function.

By default, the background colour of a wide palette GIF file will be white û you can change this by editing its Header block. This doesn't matter to a web browser, which ignores the background colour values in GIF files.

Select the maximum colour size carefully. More colours will produce much better looking final images, but they'll also create much larger final GIF files.


NOTE: If you save a wide palette GIF file, open it into GIF Construction Set and then save it again û for example, to add a comment block to it after the fact û you might see some animated GIF warnings. Ignore these û they're valid warnings, but wide palette GIF files are designed to break some of the rules for well-behaved web page animations.


This document and all the other documentation included with GIF Construction Set Professional is copyright © 1995, 1996, 1997, 1998 Alchemy Mindworks Inc. It may not be reproduced in whole or in part or transmitted in any form save as a component part of the GIF Construction Set Professional software without the explicit written permission of the copyright holder. Unauthorized use of this document or any portion thereof may result in severe criminal and civil penalties. Alchemy Mindworks Inc. accepts no responsibility for any loss, damage or expense caused by your use of the information in this document, however it occurs.