Mosaic
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Mosaic
mosaic-core
/
dev.catbit.mosaic.core.data.schemas.event.events.image
/
CompressionScheme
/
ByTargetSize
By
Target
Size
@
Immutable
@
Serializable
@
SerialName
(
value
=
"ByTargetSize"
)
data
class
ByTargetSize
(
val
targetSizeKb
:
Int
)
:
CompressionScheme
Members
Constructors
By
Target
Size
Link copied to clipboard
constructor
(
targetSizeKb
:
Int
)
Properties
target
Size
Kb
Link copied to clipboard
@
SerialName
(
value
=
"targetSizeKb"
)
val
targetSizeKb
:
Int
Target output size in KB; the library iterates to approximate it.