RE: Reduce Number of Color Definitions?
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. -Fred Ridder ___ You are currently subscribed to Framers as arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: Reduce Number of Color Definitions?
Jack, The most likely reason for this is that the files contain PNG files that are 24-bit. There's some kind of bug in Frame that inherits these color definitions, but it doesn't seem to be hurtful, just messy. If you do have PNGs in use, even if you clean up the definitions, they'll repopulate. To fix this, all you need to do is resave the PNG in Photoshop or another editor and knock the bit depth down to 8. You can also save them out as a different file format, but then you'd have to change all the file names in the FM docs, which is a large pain. If you don't have PNGs, or after you fix them, you can prune the number of color definitions down (although, again, they aren't hurting anything). The slick/easy way to do this is with ITL's ReplaceColors FrameScript. It's a freeby (http://www.itl.eu/108.0.html?L=1), but you do need FrameScript from Finite Matters (www.framescript.com) to run it. Another way to do it is to use the CleanImport plug-in and specify a template with only the colors you use. http://www.electropubs.com/ez_cleanimport.html Art Art Campbell art.campb...@gmail.com ... In my opinion, there's nothing in this world beats a '52 Vincent and a redheaded girl. -- Richard Thompson No disclaimers apply. DoD 358 On Thu, Jan 15, 2009 at 12:31 PM, Jack DeLand jdela...@comcast.net 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? TIA -- Jack DeLand :: member, information architecture institute :: 734.629.7890 :: www.jackdeland.com ___ You are currently subscribed to Framers as art.campb...@gmail.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to Framers as arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: Reduce Number of Color Definitions?
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-boun...@lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Combs, Richard Sent: Thursday, January 15, 2009 1:24 PM To: jdela...@comcast.net; framers@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.feims...@acstechnologies.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/mike.feimster%40acst echnologies.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to Framers as arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: Reduce Number of Color Definitions?
Thanks very much, Fred. I had no clue as to where all these things had come from. Fred Ridder wrote: use the MIF filters to wash the document. Use Save As -- Jack DeLand :: member, information architecture institute :: 734.629.7890 :: www.jackdeland.com ___ You are currently subscribed to Framers as arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: Reduce Number of Color Definitions?
Richard's correction is right on. I was writing quickly and got the source and destination catawumpus somewhere between my frontal lobes and keyboard... Art Art Campbell art.campb...@gmail.com ... In my opinion, there's nothing in this world beats a '52 Vincent and a redheaded girl. -- Richard Thompson No disclaimers apply. DoD 358 On Thu, Jan 15, 2009 at 1:23 PM, Combs, Richard richard.co...@polycom.comwrote: 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 art.campb...@gmail.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to Framers as arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
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 arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: Reduce Number of Color Definitions?
Mike Feimster wrote: 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. I seem to recall that one or two versions of Acrobat had a specific problem with 8-bit PNGs that resulted in unnecessarily large PDF file sizes, so that might have been a contributing factor in your test since you don't mention the version you were using at the time. -FR ___ You are currently subscribed to Framers as arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: Reduce Number of Color Definitions?
It was either 7.1 or 7.2. Mike From: Fred Ridder [mailto:docu...@hotmail.com] Sent: Thursday, January 15, 2009 2:38 PM To: Mike Feimster; framers@lists.frameusers.com Subject: RE: Reduce Number of Color Definitions? Mike Feimster wrote: 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. I seem to recall that one or two versions of Acrobat had a specific problem with 8-bit PNGs that resulted in unnecessarily large PDF file sizes, so that might have been a contributing factor in your test since you don't mention the version you were using at the time. -FR ___ You are currently subscribed to Framers as arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.