## Scale(float) {#scale}

Bild neu skalieren – Bildauflösung vergrößern oder verkleinern. InterpolationFilterType = Lanczos8

```csharp
public static PreprocessingFilter Scale(float ratio)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| ratio | Single | Der Skalierungsfaktor.Empfohlen von 0,1 bis 1 zum Schrumpfen. Von 1 bis 10 zum Vergrößern. |

### Rückgabewert

ScaleFilter-Objekt.

### Siehe auch

* class [PreprocessingFilter](../)
* namensraum [Aspose.OCR.Models.PreprocessingFilters](../../preprocessingfilter/)
* Montage [Aspose.OCR](../../../)

---

## Scale(float, InterpolationFilterType) {#scale_1}

Bild neu skalieren - Bildauflösung hoch- oder herunterskalieren.

```csharp
public static PreprocessingFilter Scale(float ratio, InterpolationFilterType type)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| ratio | Single | Der Skalierungsfaktor.Empfohlen von 0,1 bis 1 zum Schrumpfen. Von 1 bis 10 zum Vergrößern. |
| type | InterpolationFilterType | [`InterpolationFilterType`](../../../aspose.ocr.filters/interpolationfiltertype/) |

### Rückgabewert

ScaleFilter-Objekt.

### Siehe auch

* enum [InterpolationFilterType](../../../aspose.ocr.filters/interpolationfiltertype/)
* class [PreprocessingFilter](../)
* namensraum [Aspose.OCR.Models.PreprocessingFilters](../../preprocessingfilter/)
* Montage [Aspose.OCR](../../../)


