• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Removing extraneous colors by a MIF wash?

Contributor ,
Dec 24, 2017 Dec 24, 2017

Copy link to clipboard

Copied

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?

Views

351

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Dec 24, 2017 Dec 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

Votes

Translate

Translate
Enthusiast ,
Dec 24, 2017 Dec 24, 2017

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 24, 2017 Dec 24, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 26, 2017 Dec 26, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 26, 2017 Dec 26, 2017

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines