예제 #1
0
파일: canvas.go 프로젝트: phacops/canvas
// Returns the compression quality of the canvas. Ranges from 1 (lowest) to 100 (highest).
func (self *Canvas) Quality() uint {
	return uint(C.MagickGetImageCompressionQuality(self.wand))
}
예제 #2
0
파일: canvas.go 프로젝트: mishudark/gosexy
// Returns the compression quality of the canvas. Ranges from 1 (lowest) to 100 (highest).
func (cv Canvas) Quality() uint {
	return uint(C.MagickGetImageCompressionQuality(cv.wand))
}
예제 #3
0
/* Gets the image compression quality. */
func (w *MagickWand) ImageCompressionQuality() uint {
	return uint(C.MagickGetImageCompressionQuality(w.wand))
}