@cloudinary/url-gen
Version:
You are invited to influence our new SDK [Click here to view github discussion](https://github.com/cloudinary/js-url-gen/discussions/602) =========================
18 lines (14 loc) • 476 B
JavaScript
;
var LeveledEffectAction = require('./LeveledEffectAction-c6a11f05.cjs');
/**
* @description Converts the image to black and white.
* @extends LeveledEffectAction
* @memberOf Actions.Effect
* @see Visit {@link Actions.Effect|Effect} for an example
*/
class BlackwhiteEffectAction extends LeveledEffectAction.LeveledEffectAction {
threshold(value) {
return this.setLevel(value);
}
}
exports.BlackwhiteEffectAction = BlackwhiteEffectAction;