// Sets the wand compression type. func (mw *MagickWand) SetCompression(compression CompressionType) error { C.MagickSetCompression(mw.mw, C.CompressionType(compression)) return mw.GetLastError() }
// Sets the wand compression type. func (mw *MagickWand) SetCompression(compression CompressionType) error { ok := C.MagickSetCompression(mw.mw, C.CompressionType(compression)) return mw.getLastErrorIfFailed(ok) }