@cloudinary/url-gen
Version:
Cloudinary URL-Gen SDK ========================= [](https://app.travis-ci.com/github/cloudinary/js-url-gen) ## About The Cloudinary URL-Gen SDK allows you to quickly and eas
18 lines (14 loc) • 476 B
JavaScript
;
var LeveledEffectAction = require('./LeveledEffectAction-7af017df.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;