跳转到内容

新年快乐帽戏法

2015年底即将到来时,我们希望分享云端今年成绩简表和下一年的一些计划无法不添加图像变换示例帽子名中的把戏

2015年云之大我们多倍数包括团队规模 办事处 客户和收入2015年期间,我们又创下一个重要的里程碑,跨过八图年运行率.

2015年,我们还释放出令人振奋的新特征和能力,用户要求我们提供这些特征和能力。以下是几个亮点

今年首次分享了一些幕后技术细节和数字文章解释云情之道有机搭建盈利SAS服务2015年期间,我们也有幸添加BVPBesser风险伙伴战略投资者云化BVP第100次对云公司投资

Cloudinary使用图像变换URL可应用多图像变换来进一步控制外延和感知并用脸部检测甚至眼部检测法完全覆盖脸部或其他面部属性(使用面部属性)高级侧属性检测加载)覆盖所有需要 动态添加帽 所有图片上你的网站或移动应用

举个例子,让我们取下上传到云内图象(多亏我们心爱的Orly B.

Orly Bogler剖面图

圣诞帽

下方动态图像变换 URL增加圣诞树帽完全上下汽车检测目光同时旋转帽完全匹配Orly脸部帽子动态改尺寸加插以适应实帽

<\/Image>","codeSnippet":" \n\t \n\t \n\t \n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"profile_orly_bogler.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.45).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.8).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"profile_orly_bogler.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.45).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.8).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":" <\/cld-image>","codeSnippet":" \n\t \n\t \n\t \n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"profile_orly_bogler.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.45).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.8).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"profile_orly_bogler.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.45).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.8).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":" <\/cl-transformation> <\/cl-transformation> <\/cl-transformation> <\/cl-image>","codeSnippet":" \n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"profile_orly_bogler.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.45).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.8).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"profile_orly_bogler.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.45).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.8).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('profile_orly_bogler.jpg', {transformation: [ {overlay: new cloudinary.Layer().publicId(\"santa_hat\"), effect: \"trim\"}, {gravity: \"north_east\", width: \"1.0\", height: \"2.45\", crop: \"lpad\"}, {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"2.8\", crop: \"scale\"} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('profile_orly_bogler.jpg', {transformation: [\n {overlay: new cloudinary.Layer().publicId(\"santa_hat\"), effect: \"trim\"},\n {gravity: \"north_east\", width: \"1.0\", height: \"2.45\", crop: \"lpad\"},\n {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"2.8\", crop: \"scale\"}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"profile_orly_bogler.jpg\").image(transformation=[ {'overlay': \"santa_hat\", 'effect': \"trim\"}, {'gravity': \"north_east\", 'width': \"1.0\", 'height': \"2.45\", 'crop': \"lpad\"}, {'gravity': \"adv_eyes\", 'flags': [\"region_relative\", \"layer_apply\"], 'width': \"2.8\", 'crop': \"scale\"} ])","codeSnippet":"CloudinaryImage(\"profile_orly_bogler.jpg\").image(transformation=[\n {'overlay': \"santa_hat\", 'effect': \"trim\"},\n {'gravity': \"north_east\", 'width': \"1.0\", 'height': \"2.45\", 'crop': \"lpad\"},\n {'gravity': \"adv_eyes\", 'flags': [\"region_relative\", \"layer_apply\"], 'width': \"2.8\", 'crop': \"scale\"}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('profile_orly_bogler.jpg'))\n\t->overlay(Overlay::source(\n\tSource::image(\"santa_hat\")\n\t->transformation((new Transformation())\n\t->reshape(Reshape::trim())\n\t->resize(Resize::limitPad()->width(1.0)\n->height(2.45)\n\t->gravity(\n\tGravity::compass(\n\tCompass::northEast()))\n\t)\n\t->resize(Resize::scale()->width(2.8)\n\t->regionRelative()\n\t))\n\t)\n\t->position((new Position())\n\t->gravity(\n\tGravity::focusOn(\n\tFocusOn::advancedEyes()))\n\t)\n\t);","codeSnippet":"(new ImageTag('profile_orly_bogler.jpg'))\n\t->overlay(Overlay::source(\n\tSource::image(\"santa_hat\")\n\t->transformation((new Transformation())\n\t->reshape(Reshape::trim())\n\t->resize(Resize::limitPad()->width(1.0)\n->height(2.45)\n\t->gravity(\n\tGravity::compass(\n\tCompass::northEast()))\n\t)\n\t->resize(Resize::scale()->width(2.8)\n\t->regionRelative()\n\t))\n\t)\n\t->position((new Position())\n\t->gravity(\n\tGravity::focusOn(\n\tFocusOn::advancedEyes()))\n\t)\n\t);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"profile_orly_bogler.jpg\", array(\"transformation\"=>array( array(\"overlay\"=>\"santa_hat\", \"effect\"=>\"trim\"), array(\"gravity\"=>\"north_east\", \"width\"=>\"1.0\", \"height\"=>\"2.45\", \"crop\"=>\"lpad\"), array(\"gravity\"=>\"adv_eyes\", \"flags\"=>array(\"region_relative\", \"layer_apply\"), \"width\"=>\"2.8\", \"crop\"=>\"scale\") )))","codeSnippet":"cl_image_tag(\"profile_orly_bogler.jpg\", array(\"transformation\"=>array(\n array(\"overlay\"=>\"santa_hat\", \"effect\"=>\"trim\"),\n array(\"gravity\"=>\"north_east\", \"width\"=>\"1.0\", \"height\"=>\"2.45\", \"crop\"=>\"lpad\"),\n array(\"gravity\"=>\"adv_eyes\", \"flags\"=>array(\"region_relative\", \"layer_apply\"), \"width\"=>\"2.8\", \"crop\"=>\"scale\")\n )))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().overlay(new Layer().publicId(\"santa_hat\")).effect(\"trim\").chain() .gravity(\"north_east\").width(1.0).height(2.45).crop(\"lpad\").chain() .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(2.8).crop(\"scale\")).imageTag(\"profile_orly_bogler.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .overlay(new Layer().publicId(\"santa_hat\")).effect(\"trim\").chain()\n .gravity(\"north_east\").width(1.0).height(2.45).crop(\"lpad\").chain()\n .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(2.8).crop(\"scale\")).imageTag(\"profile_orly_bogler.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"profile_orly_bogler.jpg\", :transformation=>[ {:overlay=>\"santa_hat\", :effect=>\"trim\"}, {:gravity=>\"north_east\", :width=>1.0, :height=>2.45, :crop=>\"lpad\"}, {:gravity=>\"adv_eyes\", :flags=>[\"region_relative\", \"layer_apply\"], :width=>2.8, :crop=>\"scale\"} ])","codeSnippet":"cl_image_tag(\"profile_orly_bogler.jpg\", :transformation=>[\n {:overlay=>\"santa_hat\", :effect=>\"trim\"},\n {:gravity=>\"north_east\", :width=>1.0, :height=>2.45, :crop=>\"lpad\"},\n {:gravity=>\"adv_eyes\", :flags=>[\"region_relative\", \"layer_apply\"], :width=>2.8, :crop=>\"scale\"}\n ])","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Overlay(new Layer().PublicId(\"santa_hat\")).Effect(\"trim\").Chain() .Gravity(\"north_east\").Width(1.0).Height(2.45).Crop(\"lpad\").Chain() .Gravity(\"adv_eyes\").Flags(\"region_relative\", \"layer_apply\").Width(2.8).Crop(\"scale\")).BuildImageTag(\"profile_orly_bogler.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Overlay(new Layer().PublicId(\"santa_hat\")).Effect(\"trim\").Chain()\n .Gravity(\"north_east\").Width(1.0).Height(2.45).Crop(\"lpad\").Chain()\n .Gravity(\"adv_eyes\").Flags(\"region_relative\", \"layer_apply\").Width(2.8).Crop(\"scale\")).BuildImageTag(\"profile_orly_bogler.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('profile_orly_bogler.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"santa_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.45)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width(2.8)\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","codeSnippet":"cloudinary.image('profile_orly_bogler.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"santa_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.45)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width(2.8)\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setOverlay(\"santa_hat\").setEffect(\"trim\").chain() .setGravity(\"north_east\").setWidth(1.0).setHeight(2.45).setCrop(\"lpad\").chain() .setGravity(\"adv_eyes\").setFlags(\"region_relative\", \"layer_apply\").setWidth(2.8).setCrop(\"scale\")).generate(\"profile_orly_bogler.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setOverlay(\"santa_hat\").setEffect(\"trim\").chain()\n .setGravity(\"north_east\").setWidth(1.0).setHeight(2.45).setCrop(\"lpad\").chain()\n .setGravity(\"adv_eyes\").setFlags(\"region_relative\", \"layer_apply\").setWidth(2.8).setCrop(\"scale\")).generate(\"profile_orly_bogler.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().overlay(new Layer().publicId(\"santa_hat\")).effect(\"trim\").chain() .gravity(\"north_east\").width(1.0).height(2.45).crop(\"lpad\").chain() .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(2.8).crop(\"scale\")).generate(\"profile_orly_bogler.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .overlay(new Layer().publicId(\"santa_hat\")).effect(\"trim\").chain()\n .gravity(\"north_east\").width(1.0).height(2.45).crop(\"lpad\").chain()\n .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(2.8).crop(\"scale\")).generate(\"profile_orly_bogler.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('profile_orly_bogler.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"santa_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.45)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width(2.8)\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","codeSnippet":"cloudinary.image('profile_orly_bogler.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"santa_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.45)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width(2.8)\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"profile_orly_bogler.jpg\")\n\t overlay(Overlay.source(\n\tSource.image(\"santa_hat\") {\n\t transformation(Transformation {\n\t reshape(Reshape.trim())\n\t resize(Resize.limitPad() { width(1.0F)\n height(2.45F)\n\t gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t })\n\t resize(Resize.scale() { width(2.8F)\n\t regionRelative()\n\t }) })\n\t }) {\n\t position(Position() {\n\t gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t })\n\t }) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"profile_orly_bogler.jpg\")\n\t overlay(Overlay.source(\n\tSource.image(\"santa_hat\") {\n\t transformation(Transformation {\n\t reshape(Reshape.trim())\n\t resize(Resize.limitPad() { width(1.0F)\n height(2.45F)\n\t gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t })\n\t resize(Resize.scale() { width(2.8F)\n\t regionRelative()\n\t }) })\n\t }) {\n\t position(Position() {\n\t gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t })\n\t }) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"profile_orly_bogler.jpg\", {transformation: [ {overlay: new cloudinary.Layer().publicId(\"santa_hat\"), effect: \"trim\"}, {gravity: \"north_east\", width: \"1.0\", height: \"2.45\", crop: \"lpad\"}, {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"2.8\", crop: \"scale\"} ]})","codeSnippet":"$.cloudinary.image(\"profile_orly_bogler.jpg\", {transformation: [\n {overlay: new cloudinary.Layer().publicId(\"santa_hat\"), effect: \"trim\"},\n {gravity: \"north_east\", width: \"1.0\", height: \"2.45\", crop: \"lpad\"},\n {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"2.8\", crop: \"scale\"}\n ]})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"profile_orly_bogler.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.45).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.8).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"profile_orly_bogler.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.45).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.8).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/cloudinary\/image\/upload\/l_santa_hat,e_trim\/c_lpad,g_north_east,w_1.0,h_2.45\/g_adv_eyes,fl_region_relative,w_2.8,fl_layer_apply\/profile_orly_bogler.jpg","cloud_name":"cloudinary","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"overlay":"santa_hat","effect":"trim"},{"crop_mode":"lpad","gravity":"north_east","width":"1.0","height":"2.45"},{"gravity":"adv_eyes","flags":"region_relative.layer_apply","width":"2.8"}],"transformation_string":"l_santa_hat,e_trim\/c_lpad,g_north_east,w_1.0,h_2.45\/g_adv_eyes,fl_region_relative,w_2.8,fl_layer_apply","url_suffix":"","version":"","secure":true,"public_id":"profile_orly_bogler.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" > 加载代码示例 动态Santa帽使用即时变换URL

更强能力是将相同的帽子叠加到照片中自动检测到的所有面孔上可注意每个帽子叠加的不同维度和旋转角度,视视位自动测定下例使用相似图像变换指令 添加圣诞树帽

<\/Image>","codeSnippet":" \n\t \n\t \n\t \n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.6).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.6).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":" <\/cld-image>","codeSnippet":" \n\t \n\t \n\t \n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.6).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.6).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":" <\/cl-transformation> <\/cl-transformation> <\/cl-transformation> <\/cl-image>","codeSnippet":" \n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.6).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.6).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('cloudinary_team.jpg', {transformation: [ {overlay: new cloudinary.Layer().publicId(\"santa_hat\"), effect: \"trim\"}, {gravity: \"north_east\", width: \"1.0\", height: \"2.3\", crop: \"lpad\"}, {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"2.6\", crop: \"scale\"} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('cloudinary_team.jpg', {transformation: [\n {overlay: new cloudinary.Layer().publicId(\"santa_hat\"), effect: \"trim\"},\n {gravity: \"north_east\", width: \"1.0\", height: \"2.3\", crop: \"lpad\"},\n {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"2.6\", crop: \"scale\"}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"cloudinary_team.jpg\").image(transformation=[ {'overlay': \"santa_hat\", 'effect': \"trim\"}, {'gravity': \"north_east\", 'width': \"1.0\", 'height': \"2.3\", 'crop': \"lpad\"}, {'gravity': \"adv_eyes\", 'flags': [\"region_relative\", \"layer_apply\"], 'width': \"2.6\", 'crop': \"scale\"} ])","codeSnippet":"CloudinaryImage(\"cloudinary_team.jpg\").image(transformation=[\n {'overlay': \"santa_hat\", 'effect': \"trim\"},\n {'gravity': \"north_east\", 'width': \"1.0\", 'height': \"2.3\", 'crop': \"lpad\"},\n {'gravity': \"adv_eyes\", 'flags': [\"region_relative\", \"layer_apply\"], 'width': \"2.6\", 'crop': \"scale\"}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('cloudinary_team.jpg'))\n\t->overlay(Overlay::source(\n\tSource::image(\"santa_hat\")\n\t->transformation((new Transformation())\n\t->reshape(Reshape::trim())\n\t->resize(Resize::limitPad()->width(1.0)\n->height(2.3)\n\t->gravity(\n\tGravity::compass(\n\tCompass::northEast()))\n\t)\n\t->resize(Resize::scale()->width(2.6)\n\t->regionRelative()\n\t))\n\t)\n\t->position((new Position())\n\t->gravity(\n\tGravity::focusOn(\n\tFocusOn::advancedEyes()))\n\t)\n\t);","codeSnippet":"(new ImageTag('cloudinary_team.jpg'))\n\t->overlay(Overlay::source(\n\tSource::image(\"santa_hat\")\n\t->transformation((new Transformation())\n\t->reshape(Reshape::trim())\n\t->resize(Resize::limitPad()->width(1.0)\n->height(2.3)\n\t->gravity(\n\tGravity::compass(\n\tCompass::northEast()))\n\t)\n\t->resize(Resize::scale()->width(2.6)\n\t->regionRelative()\n\t))\n\t)\n\t->position((new Position())\n\t->gravity(\n\tGravity::focusOn(\n\tFocusOn::advancedEyes()))\n\t)\n\t);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"cloudinary_team.jpg\", array(\"transformation\"=>array( array(\"overlay\"=>\"santa_hat\", \"effect\"=>\"trim\"), array(\"gravity\"=>\"north_east\", \"width\"=>\"1.0\", \"height\"=>\"2.3\", \"crop\"=>\"lpad\"), array(\"gravity\"=>\"adv_eyes\", \"flags\"=>array(\"region_relative\", \"layer_apply\"), \"width\"=>\"2.6\", \"crop\"=>\"scale\") )))","codeSnippet":"cl_image_tag(\"cloudinary_team.jpg\", array(\"transformation\"=>array(\n array(\"overlay\"=>\"santa_hat\", \"effect\"=>\"trim\"),\n array(\"gravity\"=>\"north_east\", \"width\"=>\"1.0\", \"height\"=>\"2.3\", \"crop\"=>\"lpad\"),\n array(\"gravity\"=>\"adv_eyes\", \"flags\"=>array(\"region_relative\", \"layer_apply\"), \"width\"=>\"2.6\", \"crop\"=>\"scale\")\n )))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().overlay(new Layer().publicId(\"santa_hat\")).effect(\"trim\").chain() .gravity(\"north_east\").width(1.0).height(2.3).crop(\"lpad\").chain() .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(2.6).crop(\"scale\")).imageTag(\"cloudinary_team.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .overlay(new Layer().publicId(\"santa_hat\")).effect(\"trim\").chain()\n .gravity(\"north_east\").width(1.0).height(2.3).crop(\"lpad\").chain()\n .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(2.6).crop(\"scale\")).imageTag(\"cloudinary_team.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"cloudinary_team.jpg\", :transformation=>[ {:overlay=>\"santa_hat\", :effect=>\"trim\"}, {:gravity=>\"north_east\", :width=>1.0, :height=>2.3, :crop=>\"lpad\"}, {:gravity=>\"adv_eyes\", :flags=>[\"region_relative\", \"layer_apply\"], :width=>2.6, :crop=>\"scale\"} ])","codeSnippet":"cl_image_tag(\"cloudinary_team.jpg\", :transformation=>[\n {:overlay=>\"santa_hat\", :effect=>\"trim\"},\n {:gravity=>\"north_east\", :width=>1.0, :height=>2.3, :crop=>\"lpad\"},\n {:gravity=>\"adv_eyes\", :flags=>[\"region_relative\", \"layer_apply\"], :width=>2.6, :crop=>\"scale\"}\n ])","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Overlay(new Layer().PublicId(\"santa_hat\")).Effect(\"trim\").Chain() .Gravity(\"north_east\").Width(1.0).Height(2.3).Crop(\"lpad\").Chain() .Gravity(\"adv_eyes\").Flags(\"region_relative\", \"layer_apply\").Width(2.6).Crop(\"scale\")).BuildImageTag(\"cloudinary_team.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Overlay(new Layer().PublicId(\"santa_hat\")).Effect(\"trim\").Chain()\n .Gravity(\"north_east\").Width(1.0).Height(2.3).Crop(\"lpad\").Chain()\n .Gravity(\"adv_eyes\").Flags(\"region_relative\", \"layer_apply\").Width(2.6).Crop(\"scale\")).BuildImageTag(\"cloudinary_team.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('cloudinary_team.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"santa_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.3)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width(2.6)\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","codeSnippet":"cloudinary.image('cloudinary_team.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"santa_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.3)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width(2.6)\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setOverlay(\"santa_hat\").setEffect(\"trim\").chain() .setGravity(\"north_east\").setWidth(1.0).setHeight(2.3).setCrop(\"lpad\").chain() .setGravity(\"adv_eyes\").setFlags(\"region_relative\", \"layer_apply\").setWidth(2.6).setCrop(\"scale\")).generate(\"cloudinary_team.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setOverlay(\"santa_hat\").setEffect(\"trim\").chain()\n .setGravity(\"north_east\").setWidth(1.0).setHeight(2.3).setCrop(\"lpad\").chain()\n .setGravity(\"adv_eyes\").setFlags(\"region_relative\", \"layer_apply\").setWidth(2.6).setCrop(\"scale\")).generate(\"cloudinary_team.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().overlay(new Layer().publicId(\"santa_hat\")).effect(\"trim\").chain() .gravity(\"north_east\").width(1.0).height(2.3).crop(\"lpad\").chain() .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(2.6).crop(\"scale\")).generate(\"cloudinary_team.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .overlay(new Layer().publicId(\"santa_hat\")).effect(\"trim\").chain()\n .gravity(\"north_east\").width(1.0).height(2.3).crop(\"lpad\").chain()\n .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(2.6).crop(\"scale\")).generate(\"cloudinary_team.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('cloudinary_team.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"santa_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.3)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width(2.6)\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","codeSnippet":"cloudinary.image('cloudinary_team.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"santa_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.3)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width(2.6)\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"cloudinary_team.jpg\")\n\t overlay(Overlay.source(\n\tSource.image(\"santa_hat\") {\n\t transformation(Transformation {\n\t reshape(Reshape.trim())\n\t resize(Resize.limitPad() { width(1.0F)\n height(2.3F)\n\t gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t })\n\t resize(Resize.scale() { width(2.6F)\n\t regionRelative()\n\t }) })\n\t }) {\n\t position(Position() {\n\t gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t })\n\t }) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"cloudinary_team.jpg\")\n\t overlay(Overlay.source(\n\tSource.image(\"santa_hat\") {\n\t transformation(Transformation {\n\t reshape(Reshape.trim())\n\t resize(Resize.limitPad() { width(1.0F)\n height(2.3F)\n\t gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t })\n\t resize(Resize.scale() { width(2.6F)\n\t regionRelative()\n\t }) })\n\t }) {\n\t position(Position() {\n\t gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t })\n\t }) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"cloudinary_team.jpg\", {transformation: [ {overlay: new cloudinary.Layer().publicId(\"santa_hat\"), effect: \"trim\"}, {gravity: \"north_east\", width: \"1.0\", height: \"2.3\", crop: \"lpad\"}, {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"2.6\", crop: \"scale\"} ]})","codeSnippet":"$.cloudinary.image(\"cloudinary_team.jpg\", {transformation: [\n {overlay: new cloudinary.Layer().publicId(\"santa_hat\"), effect: \"trim\"},\n {gravity: \"north_east\", width: \"1.0\", height: \"2.3\", crop: \"lpad\"},\n {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"2.6\", crop: \"scale\"}\n ]})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.6).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"santa_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(2.6).regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/l_santa_hat,e_trim\/c_lpad,g_north_east,w_1.0,h_2.3\/g_adv_eyes,fl_region_relative,w_2.60,fl_layer_apply\/cloudinary_team.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"overlay":"santa_hat","effect":"trim"},{"crop_mode":"lpad","gravity":"north_east","width":"1.0","height":"2.3"},{"gravity":"adv_eyes","flags":"region_relative.layer_apply","width":"2.60"}],"transformation_string":"l_santa_hat,e_trim\/c_lpad,g_north_east,w_1.0,h_2.3\/g_adv_eyes,fl_region_relative,w_2.60,fl_layer_apply","url_suffix":"","version":"","secure":true,"public_id":"cloudinary_team.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" > 加载代码示例 动态 santa帽叠加多位自动检测头

上星期圣诞节时,我想需要换帽下示例使用同一种技术,指针党hat代之以圣塔海.新年庆典最好适配

<\/Image>","codeSnippet":" \n\t \n\t \n\t \n\t \n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"party_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(scale().width(1.4).height(\"1.0\"))\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(\"3.0\").regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"party_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(scale().width(1.4).height(\"1.0\"))\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(\"3.0\").regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":" <\/cld-image>","codeSnippet":" \n\t \n\t \n\t \n\t \n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"party_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(scale().width(1.4).height(\"1.0\"))\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(\"3.0\").regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"party_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(scale().width(1.4).height(\"1.0\"))\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(\"3.0\").regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":" <\/cl-transformation> <\/cl-transformation> <\/cl-transformation> <\/cl-transformation> <\/cl-image>","codeSnippet":" \n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"party_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(scale().width(1.4).height(\"1.0\"))\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(\"3.0\").regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"party_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(scale().width(1.4).height(\"1.0\"))\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(\"3.0\").regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('cloudinary_team.jpg', {transformation: [ {overlay: new cloudinary.Layer().publicId(\"party_hat\"), effect: \"trim\"}, {width: \"1.4\", height: \"1.0\", crop: \"scale\"}, {gravity: \"north_east\", width: \"1.0\", height: \"2.3\", crop: \"lpad\"}, {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"3.0\", crop: \"scale\"} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('cloudinary_team.jpg', {transformation: [\n {overlay: new cloudinary.Layer().publicId(\"party_hat\"), effect: \"trim\"},\n {width: \"1.4\", height: \"1.0\", crop: \"scale\"},\n {gravity: \"north_east\", width: \"1.0\", height: \"2.3\", crop: \"lpad\"},\n {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"3.0\", crop: \"scale\"}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"cloudinary_team.jpg\").image(transformation=[ {'overlay': \"party_hat\", 'effect': \"trim\"}, {'width': \"1.4\", 'height': \"1.0\", 'crop': \"scale\"}, {'gravity': \"north_east\", 'width': \"1.0\", 'height': \"2.3\", 'crop': \"lpad\"}, {'gravity': \"adv_eyes\", 'flags': [\"region_relative\", \"layer_apply\"], 'width': \"3.0\", 'crop': \"scale\"} ])","codeSnippet":"CloudinaryImage(\"cloudinary_team.jpg\").image(transformation=[\n {'overlay': \"party_hat\", 'effect': \"trim\"},\n {'width': \"1.4\", 'height': \"1.0\", 'crop': \"scale\"},\n {'gravity': \"north_east\", 'width': \"1.0\", 'height': \"2.3\", 'crop': \"lpad\"},\n {'gravity': \"adv_eyes\", 'flags': [\"region_relative\", \"layer_apply\"], 'width': \"3.0\", 'crop': \"scale\"}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('cloudinary_team.jpg'))\n\t->overlay(Overlay::source(\n\tSource::image(\"party_hat\")\n\t->transformation((new Transformation())\n\t->reshape(Reshape::trim())\n\t->resize(Resize::scale()->width(1.4)\n->height(1.0))\n\t->resize(Resize::limitPad()->width(1.0)\n->height(2.3)\n\t->gravity(\n\tGravity::compass(\n\tCompass::northEast()))\n\t)\n\t->resize(Resize::scale()->width(3.0)\n\t->regionRelative()\n\t))\n\t)\n\t->position((new Position())\n\t->gravity(\n\tGravity::focusOn(\n\tFocusOn::advancedEyes()))\n\t)\n\t);","codeSnippet":"(new ImageTag('cloudinary_team.jpg'))\n\t->overlay(Overlay::source(\n\tSource::image(\"party_hat\")\n\t->transformation((new Transformation())\n\t->reshape(Reshape::trim())\n\t->resize(Resize::scale()->width(1.4)\n->height(1.0))\n\t->resize(Resize::limitPad()->width(1.0)\n->height(2.3)\n\t->gravity(\n\tGravity::compass(\n\tCompass::northEast()))\n\t)\n\t->resize(Resize::scale()->width(3.0)\n\t->regionRelative()\n\t))\n\t)\n\t->position((new Position())\n\t->gravity(\n\tGravity::focusOn(\n\tFocusOn::advancedEyes()))\n\t)\n\t);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"cloudinary_team.jpg\", array(\"transformation\"=>array( array(\"overlay\"=>\"party_hat\", \"effect\"=>\"trim\"), array(\"width\"=>\"1.4\", \"height\"=>\"1.0\", \"crop\"=>\"scale\"), array(\"gravity\"=>\"north_east\", \"width\"=>\"1.0\", \"height\"=>\"2.3\", \"crop\"=>\"lpad\"), array(\"gravity\"=>\"adv_eyes\", \"flags\"=>array(\"region_relative\", \"layer_apply\"), \"width\"=>\"3.0\", \"crop\"=>\"scale\") )))","codeSnippet":"cl_image_tag(\"cloudinary_team.jpg\", array(\"transformation\"=>array(\n array(\"overlay\"=>\"party_hat\", \"effect\"=>\"trim\"),\n array(\"width\"=>\"1.4\", \"height\"=>\"1.0\", \"crop\"=>\"scale\"),\n array(\"gravity\"=>\"north_east\", \"width\"=>\"1.0\", \"height\"=>\"2.3\", \"crop\"=>\"lpad\"),\n array(\"gravity\"=>\"adv_eyes\", \"flags\"=>array(\"region_relative\", \"layer_apply\"), \"width\"=>\"3.0\", \"crop\"=>\"scale\")\n )))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().overlay(new Layer().publicId(\"party_hat\")).effect(\"trim\").chain() .width(1.4).height(1.0).crop(\"scale\").chain() .gravity(\"north_east\").width(1.0).height(2.3).crop(\"lpad\").chain() .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(3.0).crop(\"scale\")).imageTag(\"cloudinary_team.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .overlay(new Layer().publicId(\"party_hat\")).effect(\"trim\").chain()\n .width(1.4).height(1.0).crop(\"scale\").chain()\n .gravity(\"north_east\").width(1.0).height(2.3).crop(\"lpad\").chain()\n .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(3.0).crop(\"scale\")).imageTag(\"cloudinary_team.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"cloudinary_team.jpg\", :transformation=>[ {:overlay=>\"party_hat\", :effect=>\"trim\"}, {:width=>1.4, :height=>1.0, :crop=>\"scale\"}, {:gravity=>\"north_east\", :width=>1.0, :height=>2.3, :crop=>\"lpad\"}, {:gravity=>\"adv_eyes\", :flags=>[\"region_relative\", \"layer_apply\"], :width=>3.0, :crop=>\"scale\"} ])","codeSnippet":"cl_image_tag(\"cloudinary_team.jpg\", :transformation=>[\n {:overlay=>\"party_hat\", :effect=>\"trim\"},\n {:width=>1.4, :height=>1.0, :crop=>\"scale\"},\n {:gravity=>\"north_east\", :width=>1.0, :height=>2.3, :crop=>\"lpad\"},\n {:gravity=>\"adv_eyes\", :flags=>[\"region_relative\", \"layer_apply\"], :width=>3.0, :crop=>\"scale\"}\n ])","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Overlay(new Layer().PublicId(\"party_hat\")).Effect(\"trim\").Chain() .Width(1.4).Height(1.0).Crop(\"scale\").Chain() .Gravity(\"north_east\").Width(1.0).Height(2.3).Crop(\"lpad\").Chain() .Gravity(\"adv_eyes\").Flags(\"region_relative\", \"layer_apply\").Width(3.0).Crop(\"scale\")).BuildImageTag(\"cloudinary_team.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Overlay(new Layer().PublicId(\"party_hat\")).Effect(\"trim\").Chain()\n .Width(1.4).Height(1.0).Crop(\"scale\").Chain()\n .Gravity(\"north_east\").Width(1.0).Height(2.3).Crop(\"lpad\").Chain()\n .Gravity(\"adv_eyes\").Flags(\"region_relative\", \"layer_apply\").Width(3.0).Crop(\"scale\")).BuildImageTag(\"cloudinary_team.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('cloudinary_team.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"party_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.scale().width(1.4)\n.height('1.0'))\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.3)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width('3.0')\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","codeSnippet":"cloudinary.image('cloudinary_team.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"party_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.scale().width(1.4)\n.height('1.0'))\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.3)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width('3.0')\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setOverlay(\"party_hat\").setEffect(\"trim\").chain() .setWidth(1.4).setHeight(1.0).setCrop(\"scale\").chain() .setGravity(\"north_east\").setWidth(1.0).setHeight(2.3).setCrop(\"lpad\").chain() .setGravity(\"adv_eyes\").setFlags(\"region_relative\", \"layer_apply\").setWidth(3.0).setCrop(\"scale\")).generate(\"cloudinary_team.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setOverlay(\"party_hat\").setEffect(\"trim\").chain()\n .setWidth(1.4).setHeight(1.0).setCrop(\"scale\").chain()\n .setGravity(\"north_east\").setWidth(1.0).setHeight(2.3).setCrop(\"lpad\").chain()\n .setGravity(\"adv_eyes\").setFlags(\"region_relative\", \"layer_apply\").setWidth(3.0).setCrop(\"scale\")).generate(\"cloudinary_team.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().overlay(new Layer().publicId(\"party_hat\")).effect(\"trim\").chain() .width(1.4).height(1.0).crop(\"scale\").chain() .gravity(\"north_east\").width(1.0).height(2.3).crop(\"lpad\").chain() .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(3.0).crop(\"scale\")).generate(\"cloudinary_team.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .overlay(new Layer().publicId(\"party_hat\")).effect(\"trim\").chain()\n .width(1.4).height(1.0).crop(\"scale\").chain()\n .gravity(\"north_east\").width(1.0).height(2.3).crop(\"lpad\").chain()\n .gravity(\"adv_eyes\").flags(\"region_relative\", \"layer_apply\").width(3.0).crop(\"scale\")).generate(\"cloudinary_team.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('cloudinary_team.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"party_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.scale().width(1.4)\n.height('1.0'))\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.3)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width('3.0')\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","codeSnippet":"cloudinary.image('cloudinary_team.jpg').transformation(Transformation()\n\t.overlay(Overlay.source(\n\tSource.image(\"party_hat\")\n\t.transformation(new Transformation()\n\t.reshape(Reshape.trim())\n\t.resize(Resize.scale().width(1.4)\n.height('1.0'))\n\t.resize(Resize.limitPad().width('1.0')\n.height(2.3)\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t.resize(Resize.scale().width('3.0')\n\t.regionRelative()\n\t))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t)\n\t));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"cloudinary_team.jpg\")\n\t overlay(Overlay.source(\n\tSource.image(\"party_hat\") {\n\t transformation(Transformation {\n\t reshape(Reshape.trim())\n\t resize(Resize.scale() { width(1.4F)\n height(1.0F) })\n\t resize(Resize.limitPad() { width(1.0F)\n height(2.3F)\n\t gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t })\n\t resize(Resize.scale() { width(3.0F)\n\t regionRelative()\n\t }) })\n\t }) {\n\t position(Position() {\n\t gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t })\n\t }) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"cloudinary_team.jpg\")\n\t overlay(Overlay.source(\n\tSource.image(\"party_hat\") {\n\t transformation(Transformation {\n\t reshape(Reshape.trim())\n\t resize(Resize.scale() { width(1.4F)\n height(1.0F) })\n\t resize(Resize.limitPad() { width(1.0F)\n height(2.3F)\n\t gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t })\n\t resize(Resize.scale() { width(3.0F)\n\t regionRelative()\n\t }) })\n\t }) {\n\t position(Position() {\n\t gravity(\n\tGravity.focusOn(\n\tFocusOn.advancedEyes()))\n\t })\n\t }) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"cloudinary_team.jpg\", {transformation: [ {overlay: new cloudinary.Layer().publicId(\"party_hat\"), effect: \"trim\"}, {width: \"1.4\", height: \"1.0\", crop: \"scale\"}, {gravity: \"north_east\", width: \"1.0\", height: \"2.3\", crop: \"lpad\"}, {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"3.0\", crop: \"scale\"} ]})","codeSnippet":"$.cloudinary.image(\"cloudinary_team.jpg\", {transformation: [\n {overlay: new cloudinary.Layer().publicId(\"party_hat\"), effect: \"trim\"},\n {width: \"1.4\", height: \"1.0\", crop: \"scale\"},\n {gravity: \"north_east\", width: \"1.0\", height: \"2.3\", crop: \"lpad\"},\n {gravity: \"adv_eyes\", flags: [\"region_relative\", \"layer_apply\"], width: \"3.0\", crop: \"scale\"}\n ]})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"party_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(scale().width(1.4).height(\"1.0\"))\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(\"3.0\").regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","codeSnippet":"new CloudinaryImage(\"cloudinary_team.jpg\").overlay(\n source(\n image(\"party_hat\").transformation(\n new Transformation()\n .reshape(trim())\n .resize(scale().width(1.4).height(\"1.0\"))\n .resize(\n limitPad().width(\"1.0\").height(2.3).gravity(compass(\"north_east\"))\n )\n .resize(scale().width(\"3.0\").regionRelative())\n )\n ).position(new Position().gravity(focusOn(advancedEyes())))\n);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/l_party_hat,e_trim\/c_scale,w_1.4,h_1.0\/c_lpad,g_north_east,w_1.0,h_2.3\/g_adv_eyes,fl_region_relative,w_3.0,fl_layer_apply\/cloudinary_team.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"overlay":"party_hat","effect":"trim"},{"crop_mode":"scale","width":"1.4","height":"1.0"},{"crop_mode":"lpad","gravity":"north_east","width":"1.0","height":"2.3"},{"gravity":"adv_eyes","flags":"region_relative.layer_apply","width":"3.0"}],"transformation_string":"l_party_hat,e_trim\/c_scale,w_1.4,h_1.0\/c_lpad,g_north_east,w_1.0,h_2.3\/g_adv_eyes,fl_region_relative,w_3.0,fl_layer_apply","url_suffix":"","version":"","secure":true,"public_id":"cloudinary_team.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" > 加载代码示例 新年党帽动态添加所有检测到照片

单日试看所有网站照片不是很酷吗

期望2016年团队规模再翻番, 这样我们就能同时处理行进图上所有令人振奋的新特征和产品 并继续向客户提供最佳服务

2016年云化继续帮助解决响应图像挑战视频管理解决方案提升到下一层次 进一步加强云端DAM解决方案和媒体搜索能力 增强在线媒体库 增强与现有开发框架和新开发框架整合并增加更多图像和视频转换优化能力

自我们3.5年前启动云形服务以来,客户需求一直是#1优先级记住, 2015年我们添加的功能大都响应客户请求,

新年快乐

回顶

特征邮箱

Baidu
map