Fred Ridder wrote:

> Jack DeLand wrote:
> > I have inherited some docs that have a huge number (dozens) of color
> > definitions, all in RGB values. I want to edit these down to about
> > entries that I actually need. Is there a fast and easy way to do
> If these are colors with names something like "RGB256,256,256", they
> are likely to be artifacts from inserting graphics (I think it was
only one
> particular file format and had something to do with the color depth,
> that doesn't really matter in this context), and the easiest way to
> rid of them is to use the MIF filters to "wash" the document. Use Save
> to save the file in MIF format, then open the MIF file and use Save As
> re-save it in .fm format. Or if you have a lot of files to clean, you
> want to download and install the demo version of Mif2Go and use the
> "Wash Via MIF" command that the tool adds to FrameMaker's File menu.

The source of these is 256-color (8-bit) PNGs. FM adds each of the
colors defined in such a PNG's color palette to its color definitions

As I was writing this, Art responded. No, full-color (24-bit) PNGs
_can't_ cause this problem -- they don't _contain_ a list of color
definitions. In 24-bit graphics, each pixel can have any RGB value (8
bits each for R, G, and B equals 24 bits), so there is no limited
universe of pre-defined colors. 

_Only_ the 256-color (8-bit) PNGs cause the problem. With only 8 bits
per pixel, these graphics can't use just any combination of R, G, and B
-- they're limited to a palette of 256 defined colors. It's these
RGB-value specifications that you see in FM. 

Art is correct that you have to remove the offending graphics to
eliminate the problem, but you need to do the _reverse_ of what he said.
Change your 8-bit PNGs to 24-bit. (There's surprisingly little increase
in size, in my experience.) 

Once the 8-bit graphics are gone, Fred's suggestion of a MIF wash should
remove the RGB color definitions. 


Richard G. Combs
Senior Technical Writer
Polycom, Inc.
richardDOTcombs AT polycomDOTcom
rgcombs AT gmailDOTcom

Reply via email to