Example #1
0
// Sets the wand pixel depth.
func (mw *MagickWand) SetDepth(depth uint) error {
	C.MagickSetDepth(mw.mw, C.size_t(depth))
	return mw.GetLastError()
}
Example #2
0
// Sets the wand pixel depth.
func (mw *MagickWand) SetDepth(depth uint) error {
	ok := C.MagickSetDepth(mw.mw, C.size_t(depth))
	return mw.getLastErrorIfFailed(ok)
}