Reduce Number of Color Definitions?
Mike Feimster
mike.feimster at acstechnologies.com
Thu Jan 15 11:05:56 PST 2009
<snip>
Change your 8-bit PNGs to 24-bit. (There's surprisingly little increase
in size, in my experience.)
</snip>
I did some testing once and created two documents, where the only
difference was one doc had an 8-bit png inported by reference and the
other had a 16-bit png imported by reference. When I generated PDFs, the
PDF with the 8-bit png was actually bigger.
Mike
-----Original Message-----
From: framers-bounces at lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of Combs,
Richard
Sent: Thursday, January 15, 2009 1:24 PM
To: jdeland1 at comcast.net; framers at lists.frameusers.com
Subject: RE: Reduce Number of Color Definitions?
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
10
> > entries that I actually need. Is there a fast and easy way to do
this?
>
> 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,
but
> that doesn't really matter in this context), and the easiest way to
get
> rid of them is to use the MIF filters to "wash" the document. Use Save
As
> to save the file in MIF format, then open the MIF file and use Save As
to
> re-save it in .fm format. Or if you have a lot of files to clean, you
might
> 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
list.
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.
HTH!
Richard
Richard G. Combs
Senior Technical Writer
Polycom, Inc.
richardDOTcombs AT polycomDOTcom
303-223-5111
------
rgcombs AT gmailDOTcom
303-777-0436
------
_______________________________________________
You are currently subscribed to Framers as
mike.feimster at acstechnologies.com.
Send list messages to framers at lists.frameusers.com.
To unsubscribe send a blank email to
framers-unsubscribe at lists.frameusers.com
or visit
http://lists.frameusers.com/mailman/options/framers/mike.feimster%40acst
echnologies.com
Send administrative questions to listadmin at frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.
More information about the framers
mailing list