Original
Adjust image brightness
Dynamically adjust the brightness of an image. Either manually set the brightness level, or tell Cloudinary to automatically balance the brightness level. Brightness level change can be manually applied by setting the effect
parameter to brightness
(e_brightness
in URLs), or by using the auto_brightness
effect for automatic brightness adjustment.
Ruby:
cl_image_tag("mountain.jpg", :effect=>"brightness:30")
PHP:
cl_image_tag("mountain.jpg", array("effect"=>"brightness:30"))
Python:
CloudinaryImage("mountain.jpgBride Envy Rhinestone White Envy Arrow Twisted Twisted Tote Bag ").image(effect="brightness:30")
Node.js:
cloudinary.image("mountain.jpg", {effect: "brightness:30"})
Java:
cloudinary.url().transformation(new Transformation().effect("brightness:30Envy Tote White Twisted Twisted Arrow Envy Rhinestone Bride Bag ")).imageTag("mountain.jpg");
JS:
cloudinary.imageTag('mountain.jpg', {effect: "brightness:30"Large Envelope Envelope Bag Clutch Evening White Over Large Flap Party FTqEqgOHwd}).toHtml();
jQuery:
$.cloudinary.image("mountain.jpg", {effect: "brightness:30"})
React:
publicId="mountain.jpg" >
effect="brightness:30" />
Angular:
public-id="mountain.jpg" >
effect="brightness:30">
.Net:
cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect("Envy Bag Envy Twisted Bride Twisted White Arrow Rhinestone Tote brightness:30")).BuildImageTag("Arrow Twisted Bag Rhinestone Bride White Tote Envy Envy Twisted mountain.jpg")
Android:
MediaManager.get().url().transformation(new Transformation().effect("brightness:30")).generate("mountain.jpg");
iOS:
imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect("brightness:30")).generate("mountain.jpg")!, cloudinary: cloudinary)