Fred Endsley

Palette Management with Photoshop and Debabelizer

For image content to be published on the web or on CD-ROM, it is usually desireable to reduce the number of colors displayed by each image, and to make all the images conform to the same palette. This enables smaller file sizes, quicker load and download times, and smoother animation play.

When images are saved as Index Color GIFs a "System Palette" is used which is specific to either Mac or PC. Because of this, images made on a Mac will look different (darker) on a PC, and vice versa. To resolve this for Web images that will be viewed by both platforms it is advisable to conform images to the common "browser-safe" 216 color palette that is available in Photoshop, Debabelizer, and Director.

Because a monitor can only display one palette at a time, it is also essential that all images to appear on a single web page share the same palette. This is also desireable in Director movies to prevent the monitor from `flashing' as it changes palettes belonging to different images.

Photoshop When converting the color mode of RGB images to Index Color, there are several choices available in the pop-up menu including System (default) for Mac or Windows, Web, Adaptive, Custom, and Previous. You should normally choose to use Diffusion Dither for continuous tone images whenever it is offered.

Note: If you will use the images you have conformed directly on the Web, save them as GIF files. If you will use them in Director, save them as Picts.

Debabelizer This Swiss Army Knife can, among other talents, create `superpalettes', and convert file types and palettes of individual and batches of images. Batch processing is probably its most useful and time-saving feature, and is very easily scriptable.

To set up a very refined method of batch processing, use the collage image previously created and conformed to Adaptive Palette in Photoshop, which I will call the "superpalette image":

  1. Open the superpalette image in Debabelizer.

  2. Under the Palette menu, select Palette:Save.

  3. Now to record a simple script: Under the Scripts menu, select "Watch Me"

  4. Under the Palette menu, select "Set Palette & Remap Pixels"

  5. In the window: set the palette to the one you previously saved, select "Remap" and "Dither" and hit OK.

  6. Under the Scripts menu, select "Stop Recording", name the script and save it.

    (Note: In this case, to create this script you actually conformed the palette of the superpalette image to the palette it was already conformed to. This doesn't matter. Close the image, but keep track of it in case you need to make a palette from it again.)

  7. Now you need to create a batch list of images to process: Under the File menu, open Batch:Save.

  8. Select "New" in the upper left corner of the window. Enter a "New Batch Name" (lower right), and find and Append all the files you want to batch convert. Hit Save.

  9. Back in the Batch Save window, select the Batch List you want to convert from the pop-up menu (upper left).

  10. In the "Do Script" pop-up menu (upper right) select the palette conversion script you previously recorded.

  11. Set the delay you want (1 second is fine, or none at all).

  12. Set the Auto Naming Options:

  13. Set the folder to Save the converted files to.

  14. Select the file type from the pop-up menu

  15. Auto set Colors

  16. Hit "Do It", and relax and enjoy automated batch processing.

Note: Unless you delete your script, palette, and batch list, they will be maintained in the Debabelizer program.

Debabelizer can also convert Quicktime, 3-D, and many other types of Mac and PC file types, as well as batch cropping, batch applying of Photoshop filters, etc. Don't be intimidated, and if you get confused, use the internal Help.


ButBack.jpeg (1047bytes) ButHome.jpeg (3977bytes)