Foxing Removal in ViewCompanion Premium

Foxing appears as small brown spots and discoloration on paper. Use ViewCompanion Premium’s Foxing Removal filter to clean up scans of affected documents.

How to Apply the Foxing Removal Filter

ViewCompanion Premium can be used to clean up scanned documents using a variety of tools.
Older documents may appear yellowish due to aging, an effect that are commonly known as foxing.
The image below shows a typical document with foxing opened in ViewCompanion:

Document with foxing

To remove the foxing with Premium, you can run the defoxing filter.
Please note that if your file is a PDF you have to press the Edit PDF as Image button first.
You will find the defoxing filter by pressing the Filters button found on the Premium Tools tab.
The defoxing filter is the first available option.
Select the defoxing filter and the following dialog will appear:

Defoxing filter setup dialog

In the dialog you will find a threshold value that you can change to adjust the effect of the filter.
Use the slider to change the value or enter a new value in the edit field.
The preview will show you how the selected threshold value will affect the image.
When you're satisfied with the result, just press the Apply button.
If you want a black and white result you can use the Binarization filter instead.

The picture below shows the same document after running the foxing removal filter:

Document after foxing removing

Further Processing

After applying the defoxing filter, some stains may still remain.
You can remove any remaining spots using other tools, such as the Clear Area or the Clear Polygon tools.
If the image is skewed you can straighten it by running the Deskew tool.
You’ll find all these tools on the Premium tab.

Saving Changes

When you are satisfied with the result, you can save it as a new PDF file using the Save as PDF command on the Home tab.
To save it in another format, choose Save As and select TIFF, JPEG, or PNG.

You can also run OCR on the finished document to create a searchable PDF that includes your changes.

ViewCompanion Premium

ViewCompanion Premium is a powerful software solution for viewing, converting, and processing PDF, CAD, and image files. It includes advanced features such as PDF conversion, batch processing, OCR (optical character recognition), file comparison, watermarking, and document cleanup. Designed for both professionals and businesses, ViewCompanion helps streamline document workflows by enabling fast file conversion, automated processing, and accurate viewing of multiple file formats.

Whether you need to convert files to PDF, compare drawings, clean up scanned documents, or automate repetitive tasks, ViewCompanion provides the tools you need in one easy-to-use application.

Try ViewCompanion Premium Now

A fully functional evaluation copy can be downloaded from our web site.
The downloaded product will run in evaluation mode for a period of 30 days.
If you want to continue to use the product after this period, you're required purchase a license.


For software developers

Add Foxing Removal to Your Own Application?

scConverter is a powerful SDK for adding image processing and file conversion capabilities to your own applications or server-based solutions. It integrates with a wide range of development environments, including C#/.NET, Visual C++, Delphi, and ASP.NET.
In addition to file conversion, scConverter provides image-processing functions for supported raster formats, including foxing removal. Developers can apply the foxing removal filter programmatically to reduce spots and discoloration in scanned documents as part of an application or document-conversion workflow.

Visit the product page to learn more about the available APIs, integration options, and supported input and output formats.