setCompressedThumbnail

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

Return

true if the thumbnail was set.

Parameters

thumb

a bitmap to compress to a jpeg thumbnail.

open fun setCompressedThumbnail(thumb: Bitmap): Boolean

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

Return

true if the thumbnail was set.

Parameters

thumb

a byte array containing a jpeg compressed image.

open fun setCompressedThumbnail(thumb: Array<Byte>): Boolean