Original
Apply a sepia effect
Add a warm, antique feeling to your photos using the 'Sepia' filter effect. This is done by setting the effect parameter to sepia (e_sepia in URLs). You can also customize the strength of the Sepia effect.
Add a warm, antique feeling to your photos using the 'Sepia' filter effect. This is done by setting the effect parameter to sepia (e_sepia in URLs). You can also customize the strength of the Sepia effect.
Convert images to grayscale by setting the effect parameter to grayscale (e_grayscale in URLs). You can add further transformations in order to achieve the exact result you need.
Extract frames from an animated GIF, you can choose which frame to deliver, apply any further image manipulations including resizing, cropping, overlays and much more.
Transform animated GIFs just like any other image. Use Cloudinary's powerful image transformation tools to manipulate your animated GIFs just like you do for other standard still images.
Add your watermark as an overlay on top of any image by setting the overlay parameter (l in URLs) as your watermark image's public ID. The overlaid image's size and position is customizable.
Convert your images to any other format either by simply changing the extension of the file, or by setting the format parameter. You can either covert the image's format while uploading or upload the image as is and dynamically convert its format on delivery.
Take your base image and use the overlay parameter (l in URLs) to add any further images. Set the required width and height (w and h in URLs) with the required crop mode, and add any further transformations, effects and texts.
cl_image_tag("yellow_tulip.jpg", :transformation=>[ {:width=>220, :height=>140, :crop=>"fill"}, {:overlay=>"brown_sheep", :width=>220, :height=>140, :x=>220, :crop=>"fill"}, {:overlay=>"horses", :width=>220, :height=>140, :y=>140, :x=>-110, :crop=>"fill"}, {:overlay=>"white_chicken", :width=>220, :height=>140, :y=>70, :x=>110, :crop=>"fill"}, {:overlay=>"butterfly.png", :height=>200, :x=>-10, :angle=>10}, {:width=>400, :height=>260, :radius=>20, :crop=>"crop"}, {:overlay=>{:font_family=>"Parisienne", :font_size=>35, :font_weight=>"bold", :text=>"Memories%20from%20our%20trip"}, :color=>"#990C47", :y=>155}, {:effect=>"shadow"} ])
cl_image_tag("yellow_tulip.jpg", array("transformation"=>array( array("width"=>220, "height"=>140, "crop"=>"fill"), array("overlay"=>"brown_sheep", "width"=>220, "height"=>140, "x"=>220, "crop"=>"fill"), array("overlay"=>"horses", "width"=>220, "height"=>140, "y"=>140, "x"=>-110, "crop"=>"fill"), array("overlay"=>"white_chicken", "width"=>220, "height"=>140, "y"=>70, "x"=>110, "crop"=>"fill"), array("overlay"=>"butterfly.png", "height"=>200, "x"=>-10, "angle"=>10), array("width"=>400, "height"=>260, "radius"=>20, "crop"=>"crop"), array("overlay"=>array("font_family"=>"Parisienne", "font_size"=>35, "font_weight"=>"bold", "text"=>"Memories%20from%20our%20trip"), "color"=>"#990C47", "y"=>155), array("effect"=>"shadow") )))
(new ImageTag('yellow_tulip.jpg')) ->resize(Resize::fill()->width(220)->height(140)) ->overlay( Overlay::source(Source::image('brown_sheep') ->transformation((new ImageTransformation()) ->resize(Resize::fill()->width(220)->height(140)))) ->position((new Position()) ->offsetX(220))) ->overlay( Overlay::source(Source::image('horses') ->transformation((new ImageTransformation()) ->resize(Resize::fill()->width(220)->height(140)))) ->position((new Position()) ->offsetX(-110)->offsetY(140))) ->overlay( Overlay::source(Source::image('white_chicken') ->transformation((new ImageTransformation()) ->resize(Resize::fill()->width(220)->height(140)))) ->position((new Position()) ->offsetX(110)->offsetY(70))) ->overlay( Overlay::source(Source::image('butterfly') ->format(Format::png()) ->transformation((new ImageTransformation()) ->rotate(Rotate::byAngle(10)) ->resize(Resize::scale()->height(200)))) ->position((new Position()) ->offsetX(-10))) ->resize(Resize::crop()->width(400)->height(260)) ->roundCorners(RoundCorners::byRadius(20)) ->overlay( Overlay::source( Source::text('Memories from our trip', (new TextStyle('Parisienne', 35)) ->fontWeight(FontWeight::bold())) ->textColor(Color::rgb('990C47'))) ->position((new Position()) ->offsetY(155))) ->effect(Effect::shadow());
CloudinaryImage("yellow_tulip.jpg").image(transformation=[ {'width': 220, 'height': 140, 'crop': "fill"}, {'overlay': "brown_sheep", 'width': 220, 'height': 140, 'x': 220, 'crop': "fill"}, {'overlay': "horses", 'width': 220, 'height': 140, 'y': 140, 'x': -110, 'crop': "fill"}, {'overlay': "white_chicken", 'width': 220, 'height': 140, 'y': 70, 'x': 110, 'crop': "fill"}, {'overlay': "butterfly.png", 'height': 200, 'x': -10, 'angle': 10}, {'width': 400, 'height': 260, 'radius': 20, 'crop': "crop"}, {'overlay': {'font_family': "Parisienne", 'font_size': 35, 'font_weight': "bold", 'text': "Memories%20from%20our%20trip"}, 'color': "#990C47", 'y': 155}, {'effect': "shadow"} ])
cloudinary.image("yellow_tulip.jpg", {transformation: [ {width: 220, height: 140, crop: "fill"}, {overlay: "brown_sheep", width: 220, height: 140, x: 220, crop: "fill"}, {overlay: "horses", width: 220, height: 140, y: 140, x: -110, crop: "fill"}, {overlay: "white_chicken", width: 220, height: 140, y: 70, x: 110, crop: "fill"}, {overlay: "butterfly.png", height: 200, x: -10, angle: 10}, {width: 400, height: 260, radius: 20, crop: "crop"}, {overlay: {font_family: "Parisienne", font_size: 35, font_weight: "bold", text: "Memories%20from%20our%20trip"}, color: "#990C47", y: 155}, {effect: "shadow"} ]})
cloudinary.url().transformation(new Transformation() .width(220).height(140).crop("fill").chain() .overlay(new Layer().publicId("brown_sheep")).width(220).height(140).x(220).crop("fill").chain() .overlay(new Layer().publicId("horses")).width(220).height(140).y(140).x(-110).crop("fill").chain() .overlay(new Layer().publicId("white_chicken")).width(220).height(140).y(70).x(110).crop("fill").chain() .overlay(new Layer().publicId("butterfly.png")).height(200).x(-10).angle(10).chain() .width(400).height(260).radius(20).crop("crop").chain() .overlay(new TextLayer().fontFamily("Parisienne").fontSize(35).fontWeight("bold").text("Memories%20from%20our%20trip")).color("#990C47").y(155).chain() .effect("shadow")).imageTag("yellow_tulip.jpg");
cloudinary.imageTag('yellow_tulip.jpg', {transformation: [ {width: 220, height: 140, crop: "fill"}, {overlay: new cloudinary.Layer().publicId("brown_sheep"), width: 220, height: 140, x: 220, crop: "fill"}, {overlay: new cloudinary.Layer().publicId("horses"), width: 220, height: 140, y: 140, x: -110, crop: "fill"}, {overlay: new cloudinary.Layer().publicId("white_chicken"), width: 220, height: 140, y: 70, x: 110, crop: "fill"}, {overlay: new cloudinary.Layer().publicId("butterfly.png"), height: 200, x: -10, angle: 10}, {width: 400, height: 260, radius: 20, crop: "crop"}, {overlay: new cloudinary.TextLayer().fontFamily("Parisienne").fontSize(35).fontWeight("bold").text("Memories%20from%20our%20trip"), color: "#990C47", y: 155}, {effect: "shadow"} ]}).toHtml();
$.cloudinary.image("yellow_tulip.jpg", {transformation: [ {width: 220, height: 140, crop: "fill"}, {overlay: new cloudinary.Layer().publicId("brown_sheep"), width: 220, height: 140, x: 220, crop: "fill"}, {overlay: new cloudinary.Layer().publicId("horses"), width: 220, height: 140, y: 140, x: -110, crop: "fill"}, {overlay: new cloudinary.Layer().publicId("white_chicken"), width: 220, height: 140, y: 70, x: 110, crop: "fill"}, {overlay: new cloudinary.Layer().publicId("butterfly.png"), height: 200, x: -10, angle: 10}, {width: 400, height: 260, radius: 20, crop: "crop"}, {overlay: new cloudinary.TextLayer().fontFamily("Parisienne").fontSize(35).fontWeight("bold").text("Memories%20from%20our%20trip"), color: "#990C47", y: 155}, {effect: "shadow"} ]})
<Image publicId="yellow_tulip.jpg" > <Transformation width="220" height="140" crop="fill" /> <Transformation overlay="brown_sheep" width="220" height="140" x="220" crop="fill" /> <Transformation overlay="horses" width="220" height="140" y="140" x="-110" crop="fill" /> <Transformation overlay="white_chicken" width="220" height="140" y="70" x="110" crop="fill" /> <Transformation overlay="butterfly.png" height="200" x="-10" angle="10" /> <Transformation width="400" height="260" radius="20" crop="crop" /> <Transformation overlay={{fontFamily: "Parisienne", fontSize: 35, fontWeight: "bold", text: "Memories%20from%20our%20trip"}} color="#990C47" y="155" /> <Transformation effect="shadow" /> </Image>
<cld-image publicId="yellow_tulip.jpg" > <cld-transformation width="220" height="140" crop="fill" /> <cld-transformation :overlay="brown_sheep" width="220" height="140" x="220" crop="fill" /> <cld-transformation :overlay="horses" width="220" height="140" y="140" x="-110" crop="fill" /> <cld-transformation :overlay="white_chicken" width="220" height="140" y="70" x="110" crop="fill" /> <cld-transformation :overlay="butterfly.png" height="200" x="-10" angle="10" /> <cld-transformation width="400" height="260" radius="20" crop="crop" /> <cld-transformation :overlay="{fontFamily: 'Parisienne', fontSize: 35, fontWeight: 'bold', text: 'Memories%20from%20our%20trip'}" color="#990C47" y="155" /> <cld-transformation effect="shadow" /> </cld-image>
<cl-image public-id="yellow_tulip.jpg" > <cl-transformation width="220" height="140" crop="fill"> </cl-transformation> <cl-transformation overlay="brown_sheep" width="220" height="140" x="220" crop="fill"> </cl-transformation> <cl-transformation overlay="horses" width="220" height="140" y="140" x="-110" crop="fill"> </cl-transformation> <cl-transformation overlay="white_chicken" width="220" height="140" y="70" x="110" crop="fill"> </cl-transformation> <cl-transformation overlay="butterfly.png" height="200" x="-10" angle="10"> </cl-transformation> <cl-transformation width="400" height="260" radius="20" crop="crop"> </cl-transformation> <cl-transformation overlay="text:Parisienne_35_bold:Memories%20from%20our%20trip" color="#990C47" y="155"> </cl-transformation> <cl-transformation effect="shadow"> </cl-transformation> </cl-image>
cloudinary.Api.UrlImgUp.Transform(new Transformation() .Width(220).Height(140).Crop("fill").Chain() .Overlay(new Layer().PublicId("brown_sheep")).Width(220).Height(140).X(220).Crop("fill").Chain() .Overlay(new Layer().PublicId("horses")).Width(220).Height(140).Y(140).X(-110).Crop("fill").Chain() .Overlay(new Layer().PublicId("white_chicken")).Width(220).Height(140).Y(70).X(110).Crop("fill").Chain() .Overlay(new Layer().PublicId("butterfly.png")).Height(200).X(-10).Angle(10).Chain() .Width(400).Height(260).Radius(20).Crop("crop").Chain() .Overlay(new TextLayer().FontFamily("Parisienne").FontSize(35).FontWeight("bold").Text("Memories%20from%20our%20trip")).Color("#990C47").Y(155).Chain() .Effect("shadow")).BuildImageTag("yellow_tulip.jpg")
MediaManager.get().url().transformation(new Transformation() .width(220).height(140).crop("fill").chain() .overlay(new Layer().publicId("brown_sheep")).width(220).height(140).x(220).crop("fill").chain() .overlay(new Layer().publicId("horses")).width(220).height(140).y(140).x(-110).crop("fill").chain() .overlay(new Layer().publicId("white_chicken")).width(220).height(140).y(70).x(110).crop("fill").chain() .overlay(new Layer().publicId("butterfly.png")).height(200).x(-10).angle(10).chain() .width(400).height(260).radius(20).crop("crop").chain() .overlay(new TextLayer().fontFamily("Parisienne").fontSize(35).fontWeight("bold").text("Memories%20from%20our%20trip")).color("#990C47").y(155).chain() .effect("shadow")).generate("yellow_tulip.jpg");
imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation() .setWidth(220).setHeight(140).setCrop("fill").chain() .setOverlay("brown_sheep").setWidth(220).setHeight(140).setX(220).setCrop("fill").chain() .setOverlay("horses").setWidth(220).setHeight(140).setY(140).setX(-110).setCrop("fill").chain() .setOverlay("white_chicken").setWidth(220).setHeight(140).setY(70).setX(110).setCrop("fill").chain() .setOverlay("butterfly.png").setHeight(200).setX(-10).setAngle(10).chain() .setWidth(400).setHeight(260).setRadius(20).setCrop("crop").chain() .setOverlay("text:Parisienne_35_bold:Memories%20from%20our%20trip").setColor("#990C47").setY(155).chain() .setEffect("shadow")).generate("yellow_tulip.jpg")!, cloudinary: cloudinary)
Transforming an image to a rounded version is simply done by using the radius parameter (r in URLs). It accepts the number of pixels of the radius of all four corners.
Customize text overlay's position by setting the gravity (g in URLs) and the optional offset of the x and y. While the default text positioning ('gravity') is center, you can place your text in any other area of the image (tip: even outside the image's boundaries).
Limit the size of the image by specifying the width and height (w and h in URLs) while setting the crop parameter to limit. This will create an image that does not exceed the given width and height. All original image parts remain visible and the aspect ratio of the original image is kept.
Crop an image based on an automatically detected face or faces by specifying the width and height (w and h in URLs), setting the gravity parameter to face or faces (g_face or g_faces in URLs), then choose the crop mode most suitable to your requirements.
Crop your images by specifying the width and height parameters (w and h in URLs) while setting the crop parameter to crop (c_crop in URLs). This will extract only part of a given width & height out of the original image. The original proportions are retained and so is the size of the graphics.
Resize your images to fill specified dimensions by setting the width and height (w and h in URLs), while setting the crop parameter to fill (c_fill in URLs). This will resize and crop the image so an image with the exact specified dimensions is generated. The fill crop mode keeps the original image's aspect ratio, therefore parts of the images may be cut-off.
To change the image size to fit in given width and height while retaining original proportions, specify the width and height parameters (w and h in URLs) while setting the crop parameter to fit (c_fit in URLs).
Resize your images by setting the width and/or height parameters (w and h in URLs). When resizing using Cloudinary's URL-based transformations, Cloudinary will automatically apply the scale crop mode. Alternatively, you can use any one of our many supported crop modes.
Convert your PDF files to a JPG thumbnail by simply switching the extension of the file to JPG. You can also specify the target thumbnail dimensions using the width and height parameters and any available crop mode. If your PDF file has multiple pages, you can specify the specific page to convert using the page parameter (pg in URLs). For example:
Multi-page
Add a shadow effect to any image just by setting the effect parameter to shadow (e_shadow in URLs). You can customize the x and y offsets of the shadow and the blurring level. The shadow's color can be also changed by setting the color parameter (co in URLs).
Automatically improve the visual quality of your images using Cloudinary. Image improving is done by setting the effect parameter to improve (e_improve in URLs). All images and thumbnails of your website would seamlessly look much clearer and vivid.
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.
Saturation level of images can be easily increased or decreased on-the-fly. This can be done by setting the effect parameter to saturation (e_saturation in URLs). Saturation levels can be customized by specifying the saturation percentage, either positive or negative.