toJPEG

fun toJPEG(quality: Double): Buffer(source)

A Buffer that contains the image's JPEG encoded data.