ly.img.android.pesdk.backend.exif / Exify / setCompressedThumbnail

setCompressedThumbnail

open fun setCompressedThumbnail(thumb: Bitmap!): Boolean

Sets the thumbnail to be a jpeg compressed bitmap. Clears any prior thumbnail.

Parameters

thumb - Bitmap!: a bitmap to compress to a jpeg thumbnail.

Return
Boolean: true if the thumbnail was set.

open fun setCompressedThumbnail(thumb: ByteArray!): Boolean

Sets the thumbnail to be a jpeg compressed image. Clears any prior thumbnail.

Parameters

thumb - ByteArray!: a byte array containing a jpeg compressed image.

Return
Boolean: true if the thumbnail was set.