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

setCompressedThumbnail

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.

fun setCompressedThumbnail(thumb: kotlin.Array<byte>): boolean

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

Parameters

thumb - kotlin.Array<byte>: a byte array containing a jpeg compressed image.

Return
boolean: true if the thumbnail was set.