PicUtils

open class PicUtils

Created by Administrator on 2016/12/6.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun convertGreyImg(img: Bitmap): Bitmap
将彩色图转换为灰度图
Link copied to clipboard
get the bytes from InputStream
Link copied to clipboard
get the picture from bytes
Link copied to clipboard
open fun switchColor(switchBitmap: Bitmap): Bitmap
Link copied to clipboard
open fun zoomImage(bgimage: Bitmap, newWidth: Double): Bitmap
* 图片的缩放方法 a method to zoom the scaling of Image