The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

prep4gif - Prep for gif

SYNOPSIS

<Image>/Filters/Web/Prepare for GIF...

DESCRIPTION

Make the image a small-cut-out of the intended background, so your transparent text doesn't look blocky.

PARAMETERS

 [PF_INT32, "threshold", "Lower alpha threshold", 64],
 [PF_INT32, "growth", "How much growth for safety ",1],
 [PF_TOGGLE, "index", "Convert image to indexed", 0],
 [PF_TOGGLE, "dither", "Floyd-Steinberg dithering", 1],
 [PF_INT32, "colors", "Colors to quantize to", "255"],

IMAGE TYPES

RGB*

HISTORY

 prep4gif.pl
 by Seth Burgess <sjburges@gimp.org>
 June 29, 1998

 This perl plug-in prepares a multilayer RGB image for use as a
 transparent gif. To use this properly, you want to have something
 close to the intended background as the bottom layer. If convert
 to indexed is not selected, the bottom two options are unused.

 12/5/03: <sjburges@gimp.org>
  s/gimp_convert/gimp_image_convert

 2/25/04: <sjburges@gimp.org>
  s/gimp_layer_set_visible/gimp_drawable_set_visible/

AUTHOR

Seth Burgess <sjburges@gimp.org>

DATE

2-15-98

LICENSE

Distributed under the same terms as Gimp-Perl.