Skip to main content
December 24, 2017
Answered

Removing extraneous colors by a MIF wash?

  • December 24, 2017
  • 4 replies
  • 545 views

Issue: I'd like to remove extraneous (unused) colors.

  1. Create a new blank document.
  2. Add some custom colors.
  3. Save the document as MIF file.
  4. Open the MIF file.

The added colors are still part of the color definitions: View > Color > Definitions.

Is a MIF wash the wrong approach?

    This topic has been closed for replies.
    Correct answer Be.eM

    Hello Lothar,

    "MIF wash" is a completely wrong approach, because saving to MIF is not supposed to remove ANY user defined items from a file. In contrary, the sh#tstorm would be huge, if elements were going lost after saving to MIF. The so-called "MIF wash" is only (sometimes) good for removing unwanted defects or technical file errors, but not to clean up a man-made mess

    There are script based solutions for automatically removing unused styles, formats, or colours.

    Bernd

    4 replies

    Barb Binder
    Community Expert
    Community Expert
    December 26, 2017

    Tedious but free and effective:

    1. Esc vcd
    2. Select the last color
    3. Alt+D, Enter (repeat until you hit Salmon)
    4. Repeat steps 2–3 for each document.

    And consider voting for this feature request: Tracker.

    ~Barb

    ~Barb at Rocky Mountain Training
    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    December 26, 2017

    Hi Lothar,

    If you open the MIF file in a text editor, you'll find you can rapidly delete one or more color definitions.

    Save the changes to the MIF file, reopen in Fm, and you're good to go.

    Unless, as Bob noted, you have graphics that are adding colors to your doc. These colors are often ambiguous RGB color definitions. To permanently eliminate these colors you'd also need to replace the offending images with formats (like PNG?) that don't stuff your doc with extra colors.

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    Bob_Niland
    Community Expert
    Community Expert
    December 24, 2017

    MIF wash, per se, removes exactly zero [properly formed] entries from any document Library, including Color. Unused entries in particular are not removed. MIF wash might remove malformed entries, but that isn't your problem.

    Also, if you delete unused colors by hand or with a script or aftermarket tool, and they come back, that means they are being auto-created by some imported content. I found DXF and DWG images to be vexatious in this regard.

    Be.eM
    Be.eMCorrect answer
    Inspiring
    December 24, 2017

    Hello Lothar,

    "MIF wash" is a completely wrong approach, because saving to MIF is not supposed to remove ANY user defined items from a file. In contrary, the sh#tstorm would be huge, if elements were going lost after saving to MIF. The so-called "MIF wash" is only (sometimes) good for removing unwanted defects or technical file errors, but not to clean up a man-made mess

    There are script based solutions for automatically removing unused styles, formats, or colours.

    Bernd