[android-components](../../index.md) / [mozilla.components.browser.icons.processor](../index.md) / [ResizingProcessor](./index.md)

# ResizingProcessor

`class ResizingProcessor : `[`IconProcessor`](../-icon-processor/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/icons/src/main/java/mozilla/components/browser/icons/processor/ResizingProcessor.kt#L18)

[IconProcessor](../-icon-processor/index.md) implementation for resizing the loaded icon based on the target size.

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `ResizingProcessor(discardSmallIcons: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true)`<br>[IconProcessor](../-icon-processor/index.md) implementation for resizing the loaded icon based on the target size. |

### Functions

| Name | Summary |
|---|---|
| [process](process.md) | `fun process(context: <ERROR CLASS>, request: `[`IconRequest`](../../mozilla.components.browser.icons/-icon-request/index.md)`, resource: `[`Resource`](../../mozilla.components.browser.icons/-icon-request/-resource/index.md)`?, icon: `[`Icon`](../../mozilla.components.browser.icons/-icon/index.md)`, desiredSize: `[`DesiredSize`](../../mozilla.components.browser.icons/-desired-size/index.md)`): `[`Icon`](../../mozilla.components.browser.icons/-icon/index.md)`?` |
