XFaces.xpmFilterCount: 2
XFaces.xpm1.name: gif
XFaces.xpm1.filter: giftopnm %% | ppmquant -map cmapfile | ppmtoxpm
XFaces.xpm1.extension: .gif
XFaces.xpm2.name: tiff
XFaces.xpm2.filter: tifftopnm %% | ppmquant -map cmapfile | ppmtoxpm
XFaces.xpm2.extension: .tiff
This should not be *too* hard to implement as all of the processing is
already done in the external converters. This would allow XFaces to
read a *bunch* of formats right off the bat and the ppmquant filter
could force all of the images to use the same colormap. This would not
affect any images loaded directly using the native xpm support. If
those files did not need shape support then we could define another
external filter:
XFaces.xpm2.name: xpm2
XFaces.xpm2.filter: xpmtopnm %% | ppmquant -map cmapfile | ppmtoxpm
XFaces.xpm2.extension: .xpm
Ideally I would like to see the color reduction and dithering done
internally so the the native xpm support could take advantage of it.
Does anybody have any thoughts or ideas about this? Any other color
issues?
-- Chris
Chris Liebman Work Home
Internet: liebman@xrxedds.com liebman@zod.clark.net
UUCP: uunet!xrxedds!liebman uunet!clarknet!zod!liebman
Phone: 1-703-787-2032 1-703-830-1641