> For the complete documentation index, see [llms.txt](https://docs.viesus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.viesus.com/configuration/pdf-settings/general.md).

# General

General PDF Enhancer settings — core processing behavior, image filtering, adjacency, and soft-mask handling.

Core configuration for PDF processing behavior.

<table><thead><tr><th width="222.199951171875">Parameter</th><th width="85.800048828125">Type</th><th width="98.4000244140625">Default</th><th>Description</th></tr></thead><tbody><tr><td><code>viesusIni</code></td><td>String</td><td>-</td><td>Path to the VIESUS image enhancement configuration file. Default path is <code>C:\ProgramData\Imaging Solutions\VIESUS\PDFEnhancer\IsEnhance.json</code></td></tr><tr><td><code>archive</code></td><td>Boolean</td><td>1</td><td>Enable / disable archiving of processed files</td></tr><tr><td><code>delete</code></td><td>Boolean</td><td>1</td><td>Enable / disable deletion of source files after processing</td></tr><tr><td><code>debug</code></td><td>Boolean</td><td>1</td><td>Enable / disable debug mode and logging</td></tr><tr><td><code>minFileSize</code></td><td>Integer</td><td>20</td><td>Minimum PDF file size (KB) for processing</td></tr><tr><td><code>destFileLog</code></td><td>Boolean</td><td>0</td><td>Enable destination file logging</td></tr><tr><td><code>useColorRatio</code></td><td>Boolean</td><td>0</td><td>Enable color ratio analysis for artificial image detection</td></tr><tr><td><code>colorRatioThres</code></td><td>Float</td><td>0.05</td><td>Threshold for color ratio analysis</td></tr><tr><td><code>checkAdjacentImages</code></td><td>Boolean</td><td>1</td><td>Check for adjacent images to merge for enhancement</td></tr><tr><td><code>adjacencyThres</code></td><td>Integer</td><td>10</td><td>Threshold for determining image adjacency (pixels)</td></tr><tr><td><code>overlapThres</code></td><td>Integer</td><td>10</td><td>Threshold for determining image overlap (pixels)</td></tr><tr><td><code>includeSoftMaskedImages</code></td><td>Boolean</td><td>1</td><td>Enable enhancement of images with soft masks</td></tr><tr><td><code>streamReading</code></td><td>Boolean</td><td>1</td><td>Enable JPEG stream reading (disable for files with zipped images)</td></tr><tr><td><code>skipFullPageBackground</code></td><td>Boolean</td><td>1</td><td>Skip background images that fill the entire page</td></tr><tr><td><code>minImageWidth</code></td><td>Integer</td><td>64</td><td>Skip images narrower than this</td></tr><tr><td><code>minImageHeight</code></td><td>Integer</td><td>64</td><td>Skip images shorter than this</td></tr></tbody></table>

{% hint style="info" %}
For boolean parameters: **0** = OFF, **1** = ON.
{% endhint %}

{% hint style="warning" %}

* **`checkAdjacentImages`** should be disabled for very complex PDFs to avoid performance issues
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.viesus.com/configuration/pdf-settings/general.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
