NAME

webify - Make an image suitable for the web

SYNOPSIS

<Image>/Filters/Web/Webify...

DESCRIPTION

Flattens an image, makes the background transparent, converts it to indexed and then crops it to the right size. Useful to save small & transparent gifs from a higher-quality source.

PARAMETERS

  [PF_BOOL, "new", "Create a new image", 1],
  [PF_BOOL, "alpha", "Make transparent", 1],
  [PF_COLOUR, "bg", "Background colour to use for transparency", "white"],
  [PF_SLIDER, "thresh", "Threshold to use for background detection", 3, [0, 255, 1]],
  [PF_INT32, "colours", "How many colours to use (0 = don't convert to indexed)", 32],
  [PF_BOOL, "autocrop", "Autocrop at end", 1],

RETURN VALUES

  [PF_IMAGE, 'image', 'Output image']

IMAGE TYPES

RGB*, GRAY*

AUTHOR

Marc Lehmann

DATE

1.0

LICENSE

Marc Lehmann

Distributed under the same terms as Gimp-Perl.