[android-components](../../index.md) / [mozilla.components.support.images](../index.md) / [DesiredSize](index.md) / [maxSize](./max-size.md)

# maxSize

`val maxSize: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/images/src/main/java/mozilla/components/support/images/DesiredSize.kt#L20)

The maximum size of an image before it will be thrown out, in pixels.
Extremely large images are suspicious and should be ignored.

### Property

`maxSize` - The maximum size of an image before it will be thrown out, in pixels.
Extremely large images are suspicious and should be ignored.