Acrobits SDK
Toggle table of contents
26.1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Acrobits SDK
Libsoftphone
/
cz.acrobits.libsoftphone.media.compressors
/
ImageCompressor
/
CompressionParams
Compression
Params
open
class
CompressionParams
Members
Constructors
Compression
Params
Link copied to clipboard
constructor
(
params
:
ImageProcessingParamsJNI
)
constructor
(
params
:
ThumbnailParamsJNI
)
constructor
(
maxSizeBytes
:
Integer
,
maxResolution
:
Integer
,
preferredCompressFormats
:
String
)
Types
Preferred
Image
Format
Link copied to clipboard
enum
PreferredImageFormat
Properties
base
Ratio
Link copied to clipboard
open
var
baseRatio
:
Double
Image ratio threshold (image frame size threshold will be : maxResolution * baseRatio X maxResolution)
max
Resolution
Link copied to clipboard
open
var
maxResolution
:
Integer
Resolution compression threshold (e.
max
Size
Bytes
Link copied to clipboard
open
var
maxSizeBytes
:
Integer
File size compression threshold in bytes
preferred
Image
Format
Link copied to clipboard
open
var
preferredImageFormat
:
ImageCompressor.CompressionParams.PreferredImageFormat
Preferred compression format
quality
Link copied to clipboard
open
var
quality
:
Integer
Image quality threshold (0-100)