// Sets the yellow color of the pixel wand func (pw *PixelWand) SetYellowQuantum(yellow Quantum) { C.PixelSetYellowQuantum(pw.pw, C.Quantum(yellow)) }
// Sets the opacity color of the pixel wand func (pw *PixelWand) SetOpacityQuantum(opacity Quantum) { C.PixelSetOpacityQuantum(pw.pw, C.Quantum(opacity)) }
// Sets the red color of the pixel wand func (pw *PixelWand) SetRedQuantum(red Quantum) { C.PixelSetRedQuantum(pw.pw, C.Quantum(red)) }
// Sets the green color of the pixel wand func (pw *PixelWand) SetGreenQuantum(green Quantum) { C.PixelSetGreenQuantum(pw.pw, C.Quantum(green)) }
// Sets the magenta color of the pixel wand func (pw *PixelWand) SetMagentaQuantum(magenta Quantum) { C.PixelSetMagentaQuantum(pw.pw, C.Quantum(magenta)) }
// Sets the cyan color of the pixel wand func (pw *PixelWand) SetCyanQuantum(cyan Quantum) { C.PixelSetCyanQuantum(pw.pw, C.Quantum(cyan)) }
// Sets the blue color of the pixel wand func (pw *PixelWand) SetBlueQuantum(blue Quantum) { C.PixelSetBlueQuantum(pw.pw, C.Quantum(blue)) }
// Sets the black color of the pixel wand func (pw *PixelWand) SetBlackQuantum(black Quantum) { C.PixelSetBlackQuantum(pw.pw, C.Quantum(black)) }
func ConvertRGBToHSL(qr, qg, qb Quantum) (h, s, l float64) { var dh, ds, dl C.double C.ConvertRGBToHSL(C.Quantum(qr), C.Quantum(qg), C.Quantum(qb), &dh, &ds, &dl) return float64(dh), float64(ds), float64(dl) }
func ConvertRGBToHSB(qr, qg, qb Quantum) (h, s, b float64) { var dh, ds, db C.double C.ConvertRGBToHSB(C.Quantum(qr), C.Quantum(qg), C.Quantum(qb), &dh, &ds, &db) return float64(dh), float64(ds), float64(db) }