低质量图像占位器原创使用,使网页有序正确加载,显示超小模糊图像而实际版加载,这与JaavaScript懒加载效果良好接二进制:我们应该多加JaavaScript帮助图像加速加载吗? 即使我们必须等待同JavaScript运行后才能加载?鸡和鸡
网络上只有少见LQIP指南部分基于从云端社区收集回馈, 我们将描述图像定位生成器, LQIP使用案例, 并使用LQIP方式加速页面加载并优化用户经验
持续辩论中心是提供最优图像性能的最好方式和JaavaScript可发挥的作用以下是选项 :
- Lashage HTML5图像属性等
srcset设置
并大小数
制作响应图像即信任浏览器根据图像密度做出正确决策结果是完全缺乏对设备像素比等元素的控制基于不同的浏览器控件srcset设置
不同的是,缩放并传递一致性交叉浏览者经验很难实现内联HTML代码应用 每一个图像都是人工密集工作 - 服务器端实现Google HTTP客户端提示曾一度被称为图像优化策略自动化圣杯客户提示目前仅由 Chrome和Opera浏览器支持客户提示最有可能成为黄金标准监视开发
- 用户端JavaScript响应库捕捉所有细节,如图像宽度和高度、DPR、Veewport和浏览器代理器等,并随后传递到云端云化变换主图像飞向完全大小特征-不管设备、窗口大小、方向或分辨率
更多细节,查免费云工具响应图像断点生成器.
基于上述解决方案的利弊,JavaScript是允许LQIP加载而实际图像预加载后台的最佳和最可靠选项预加载完成后 JavaScript用实际图像交换占位符
响应式设计图像不显示白空间而不是预加载时的占位符,因为布局修改和内容移位使用户经验差和性能差通用图像定位器缺乏吸引力,不提醒观众内容仍在加载,远非理想化之极
代之以显示下列任一LQIP
- 简单固色图像(可能基于所发现调色板中的主要色)加梯度选项预加载时填色注意方便小费:云形自动检测映射颜色调色板和支配颜色,这样你就可以在飞上执行变换
- 可缩放向量图形对象akaSVG图像占位符sQIP
注释 :
贝斯特登录入口官网下载高雅方法,用户经验丰富,原创图像精确表示无限小有效载荷, SQIP无法缩放,需要准备工作、多资源并处理时间更多洞察力读出文章内容.
云化提供不费力高效生成LQIP所有你需要做的是上传图像云并添加f_aut
参数到 URL云化通过实时自动化变换图像
放大小图像由云压缩质量,还可能染色体子采样、模糊或仿真化云化还提供颜色混合,如WebP格式可应用色特效:灰度、黑白、色化或各种色调
试一试:启动方式注册云式免费账号.
原版JPEG宽度为640px重40KB
<\/Image>","codeSnippet":"
\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(\"string_1.jpg\").resize(scale().width(640));","codeSnippet":"new CloudinaryImage(\"string_1.jpg\").resize(scale().width(640));","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<\/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(\"string_1.jpg\").resize(scale().width(640));","codeSnippet":"new CloudinaryImage(\"string_1.jpg\").resize(scale().width(640));","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":"
<\/cl-transformation> <\/cl-image>","codeSnippet":"
\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(\"string_1.jpg\").resize(scale().width(640));","codeSnippet":"new CloudinaryImage(\"string_1.jpg\").resize(scale().width(640));","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('string_1.jpg', {width: 640, crop: \"scale\"}).toHtml();","codeSnippet":"cloudinary.imageTag('string_1.jpg', {width: 640, crop: \"scale\"}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"string_1.jpg\").image(width=640, crop=\"scale\")","codeSnippet":"CloudinaryImage(\"string_1.jpg\").image(width=640, crop=\"scale\")","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('string_1.jpg'))\n\t->resize(Resize::scale()->width(640));","codeSnippet":"(new ImageTag('string_1.jpg'))\n\t->resize(Resize::scale()->width(640));","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"string_1.jpg\", array(\"width\"=>640, \"crop\"=>\"scale\"))","codeSnippet":"cl_image_tag(\"string_1.jpg\", array(\"width\"=>640, \"crop\"=>\"scale\"))","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().width(640).crop(\"scale\")).imageTag(\"string_1.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation().width(640).crop(\"scale\")).imageTag(\"string_1.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"string_1.jpg\", :width=>640, :crop=>\"scale\")","codeSnippet":"cl_image_tag(\"string_1.jpg\", :width=>640, :crop=>\"scale\")","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().Width(640).Crop(\"scale\")).BuildImageTag(\"string_1.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Width(640).Crop(\"scale\")).BuildImageTag(\"string_1.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640)));","codeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640)));","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().setWidth(640).setCrop(\"scale\")).generate(\"string_1.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setWidth(640).setCrop(\"scale\")).generate(\"string_1.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().width(640).crop(\"scale\")).generate(\"string_1.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation().width(640).crop(\"scale\")).generate(\"string_1.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640)));","codeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640)));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"string_1.jpg\")\n\t resize(Resize.scale() { width(640) }) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"string_1.jpg\")\n\t resize(Resize.scale() { width(640) }) \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(\"string_1.jpg\", {width: 640, crop: \"scale\"})","codeSnippet":"$.cloudinary.image(\"string_1.jpg\", {width: 640, crop: \"scale\"})","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(\"string_1.jpg\").resize(scale().width(640));","codeSnippet":"new CloudinaryImage(\"string_1.jpg\").resize(scale().width(640));","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\/w_640\/string_1.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"width":"640"}],"transformation_string":"w_640","url_suffix":"","version":"","secure":true,"public_id":"string_1.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" >
加载代码示例
三大LQIP由云化生成,压缩质量并优化WebP使用,WebP中重2.17KB和JPG非Chrome浏览器中重1.46KB顶版显示灰度效果中间黑白触摸底部一像卡通浏览卡通化
参数化
<\/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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(grayscale());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(grayscale());","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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(grayscale());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(grayscale());","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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(grayscale());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(grayscale());","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('string_1.jpg', {transformation: [ {width: 640, crop: \"scale\"}, {effect: \"blur:1000\", quality: 1}, {effect: \"grayscale\"} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('string_1.jpg', {transformation: [\n {width: 640, crop: \"scale\"},\n {effect: \"blur:1000\", quality: 1},\n {effect: \"grayscale\"}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"string_1.jpg\").image(transformation=[ {'width': 640, 'crop': \"scale\"}, {'effect': \"blur:1000\", 'quality': 1}, {'effect': \"grayscale\"} ])","codeSnippet":"CloudinaryImage(\"string_1.jpg\").image(transformation=[\n {'width': 640, 'crop': \"scale\"},\n {'effect': \"blur:1000\", 'quality': 1},\n {'effect': \"grayscale\"}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('string_1.jpg'))\n\t->resize(Resize::scale()->width(640))\n\t->effect(Effect::blur()->strength(1000))\n\t->delivery(Delivery::format(\n\tFormat::auto()))\n\t->delivery(Delivery::quality(1))\n\t->effect(Effect::grayscale());","codeSnippet":"(new ImageTag('string_1.jpg'))\n\t->resize(Resize::scale()->width(640))\n\t->effect(Effect::blur()->strength(1000))\n\t->delivery(Delivery::format(\n\tFormat::auto()))\n\t->delivery(Delivery::quality(1))\n\t->effect(Effect::grayscale());","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"string_1.jpg\", array(\"transformation\"=>array( array(\"width\"=>640, \"crop\"=>\"scale\"), array(\"effect\"=>\"blur:1000\", \"quality\"=>1), array(\"effect\"=>\"grayscale\") )))","codeSnippet":"cl_image_tag(\"string_1.jpg\", array(\"transformation\"=>array(\n array(\"width\"=>640, \"crop\"=>\"scale\"),\n array(\"effect\"=>\"blur:1000\", \"quality\"=>1),\n array(\"effect\"=>\"grayscale\")\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().width(640).crop(\"scale\").chain() .effect(\"blur:1000\").quality(1).chain() .effect(\"grayscale\")).imageTag(\"string_1.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .width(640).crop(\"scale\").chain()\n .effect(\"blur:1000\").quality(1).chain()\n .effect(\"grayscale\")).imageTag(\"string_1.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"string_1.jpg\", :transformation=>[ {:width=>640, :crop=>\"scale\"}, {:effect=>\"blur:1000\", :quality=>1}, {:effect=>\"grayscale\"} ])","codeSnippet":"cl_image_tag(\"string_1.jpg\", :transformation=>[\n {:width=>640, :crop=>\"scale\"},\n {:effect=>\"blur:1000\", :quality=>1},\n {:effect=>\"grayscale\"}\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().Width(640).Crop(\"scale\").Chain() .Effect(\"blur:1000\").Quality(1).Chain() .Effect(\"grayscale\")).BuildImageTag(\"string_1.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Width(640).Crop(\"scale\").Chain()\n .Effect(\"blur:1000\").Quality(1).Chain()\n .Effect(\"grayscale\")).BuildImageTag(\"string_1.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.grayscale()));","codeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.grayscale()));","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().setWidth(640).setCrop(\"scale\").chain() .setEffect(\"blur:1000\").setQuality(1).chain() .setEffect(\"grayscale\")).generate(\"string_1.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setWidth(640).setCrop(\"scale\").chain()\n .setEffect(\"blur:1000\").setQuality(1).chain()\n .setEffect(\"grayscale\")).generate(\"string_1.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().width(640).crop(\"scale\").chain() .effect(\"blur:1000\").quality(1).chain() .effect(\"grayscale\")).generate(\"string_1.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .width(640).crop(\"scale\").chain()\n .effect(\"blur:1000\").quality(1).chain()\n .effect(\"grayscale\")).generate(\"string_1.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.grayscale()));","codeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.grayscale()));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"string_1.jpg\")\n\t resize(Resize.scale() { width(640) })\n\t effect(Effect.blur() { strength(1000) })\n\t delivery(Delivery.format(\n\tFormat.auto()))\n\t delivery(Delivery.quality(1))\n\t effect(Effect.grayscale()) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"string_1.jpg\")\n\t resize(Resize.scale() { width(640) })\n\t effect(Effect.blur() { strength(1000) })\n\t delivery(Delivery.format(\n\tFormat.auto()))\n\t delivery(Delivery.quality(1))\n\t effect(Effect.grayscale()) \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(\"string_1.jpg\", {transformation: [ {width: 640, crop: \"scale\"}, {effect: \"blur:1000\", quality: 1}, {effect: \"grayscale\"} ]})","codeSnippet":"$.cloudinary.image(\"string_1.jpg\", {transformation: [\n {width: 640, crop: \"scale\"},\n {effect: \"blur:1000\", quality: 1},\n {effect: \"grayscale\"}\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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(grayscale());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(grayscale());","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\/w_640\/e_blur:1000,q_1,f_auto\/e_grayscale\/string_1.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"width":"640"},{"effect":"blur:1000","quality":"1","format":"auto"},{"effect":"grayscale"}],"transformation_string":"w_640\/e_blur:1000,q_1,f_auto\/e_grayscale","url_suffix":"","version":"","secure":true,"public_id":"string_1.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" >
加载代码示例
<\/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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(blackwhite());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(blackwhite());","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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(blackwhite());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(blackwhite());","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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(blackwhite());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(blackwhite());","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('string_1.jpg', {transformation: [ {width: 640, crop: \"scale\"}, {effect: \"blur:1000\", quality: 1}, {effect: \"blackwhite\"} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('string_1.jpg', {transformation: [\n {width: 640, crop: \"scale\"},\n {effect: \"blur:1000\", quality: 1},\n {effect: \"blackwhite\"}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"string_1.jpg\").image(transformation=[ {'width': 640, 'crop': \"scale\"}, {'effect': \"blur:1000\", 'quality': 1}, {'effect': \"blackwhite\"} ])","codeSnippet":"CloudinaryImage(\"string_1.jpg\").image(transformation=[\n {'width': 640, 'crop': \"scale\"},\n {'effect': \"blur:1000\", 'quality': 1},\n {'effect': \"blackwhite\"}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('string_1.jpg'))\n\t->resize(Resize::scale()->width(640))\n\t->effect(Effect::blur()->strength(1000))\n\t->delivery(Delivery::format(\n\tFormat::auto()))\n\t->delivery(Delivery::quality(1))\n\t->effect(Effect::blackwhite());","codeSnippet":"(new ImageTag('string_1.jpg'))\n\t->resize(Resize::scale()->width(640))\n\t->effect(Effect::blur()->strength(1000))\n\t->delivery(Delivery::format(\n\tFormat::auto()))\n\t->delivery(Delivery::quality(1))\n\t->effect(Effect::blackwhite());","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"string_1.jpg\", array(\"transformation\"=>array( array(\"width\"=>640, \"crop\"=>\"scale\"), array(\"effect\"=>\"blur:1000\", \"quality\"=>1), array(\"effect\"=>\"blackwhite\") )))","codeSnippet":"cl_image_tag(\"string_1.jpg\", array(\"transformation\"=>array(\n array(\"width\"=>640, \"crop\"=>\"scale\"),\n array(\"effect\"=>\"blur:1000\", \"quality\"=>1),\n array(\"effect\"=>\"blackwhite\")\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().width(640).crop(\"scale\").chain() .effect(\"blur:1000\").quality(1).chain() .effect(\"blackwhite\")).imageTag(\"string_1.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .width(640).crop(\"scale\").chain()\n .effect(\"blur:1000\").quality(1).chain()\n .effect(\"blackwhite\")).imageTag(\"string_1.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"string_1.jpg\", :transformation=>[ {:width=>640, :crop=>\"scale\"}, {:effect=>\"blur:1000\", :quality=>1}, {:effect=>\"blackwhite\"} ])","codeSnippet":"cl_image_tag(\"string_1.jpg\", :transformation=>[\n {:width=>640, :crop=>\"scale\"},\n {:effect=>\"blur:1000\", :quality=>1},\n {:effect=>\"blackwhite\"}\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().Width(640).Crop(\"scale\").Chain() .Effect(\"blur:1000\").Quality(1).Chain() .Effect(\"blackwhite\")).BuildImageTag(\"string_1.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Width(640).Crop(\"scale\").Chain()\n .Effect(\"blur:1000\").Quality(1).Chain()\n .Effect(\"blackwhite\")).BuildImageTag(\"string_1.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.blackwhite()));","codeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.blackwhite()));","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().setWidth(640).setCrop(\"scale\").chain() .setEffect(\"blur:1000\").setQuality(1).chain() .setEffect(\"blackwhite\")).generate(\"string_1.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setWidth(640).setCrop(\"scale\").chain()\n .setEffect(\"blur:1000\").setQuality(1).chain()\n .setEffect(\"blackwhite\")).generate(\"string_1.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().width(640).crop(\"scale\").chain() .effect(\"blur:1000\").quality(1).chain() .effect(\"blackwhite\")).generate(\"string_1.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .width(640).crop(\"scale\").chain()\n .effect(\"blur:1000\").quality(1).chain()\n .effect(\"blackwhite\")).generate(\"string_1.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.blackwhite()));","codeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.blackwhite()));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"string_1.jpg\")\n\t resize(Resize.scale() { width(640) })\n\t effect(Effect.blur() { strength(1000) })\n\t delivery(Delivery.format(\n\tFormat.auto()))\n\t delivery(Delivery.quality(1))\n\t effect(Effect.blackwhite()) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"string_1.jpg\")\n\t resize(Resize.scale() { width(640) })\n\t effect(Effect.blur() { strength(1000) })\n\t delivery(Delivery.format(\n\tFormat.auto()))\n\t delivery(Delivery.quality(1))\n\t effect(Effect.blackwhite()) \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(\"string_1.jpg\", {transformation: [ {width: 640, crop: \"scale\"}, {effect: \"blur:1000\", quality: 1}, {effect: \"blackwhite\"} ]})","codeSnippet":"$.cloudinary.image(\"string_1.jpg\", {transformation: [\n {width: 640, crop: \"scale\"},\n {effect: \"blur:1000\", quality: 1},\n {effect: \"blackwhite\"}\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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(blackwhite());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(blackwhite());","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\/w_640\/e_blur:1000,q_1,f_auto\/e_blackwhite\/string_1.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"width":"640"},{"effect":"blur:1000","quality":"1","format":"auto"},{"effect":"blackwhite"}],"transformation_string":"w_640\/e_blur:1000,q_1,f_auto\/e_blackwhite","url_suffix":"","version":"","secure":true,"public_id":"string_1.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" >
加载代码示例
<\/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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(cartoonify());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(cartoonify());","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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(cartoonify());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(cartoonify());","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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(cartoonify());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(cartoonify());","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('string_1.jpg', {transformation: [ {width: 640, crop: \"scale\"}, {effect: \"blur:1000\", quality: 1}, {effect: \"cartoonify\"} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('string_1.jpg', {transformation: [\n {width: 640, crop: \"scale\"},\n {effect: \"blur:1000\", quality: 1},\n {effect: \"cartoonify\"}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"string_1.jpg\").image(transformation=[ {'width': 640, 'crop': \"scale\"}, {'effect': \"blur:1000\", 'quality': 1}, {'effect': \"cartoonify\"} ])","codeSnippet":"CloudinaryImage(\"string_1.jpg\").image(transformation=[\n {'width': 640, 'crop': \"scale\"},\n {'effect': \"blur:1000\", 'quality': 1},\n {'effect': \"cartoonify\"}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('string_1.jpg'))\n\t->resize(Resize::scale()->width(640))\n\t->effect(Effect::blur()->strength(1000))\n\t->delivery(Delivery::format(\n\tFormat::auto()))\n\t->delivery(Delivery::quality(1))\n\t->effect(Effect::cartoonify());","codeSnippet":"(new ImageTag('string_1.jpg'))\n\t->resize(Resize::scale()->width(640))\n\t->effect(Effect::blur()->strength(1000))\n\t->delivery(Delivery::format(\n\tFormat::auto()))\n\t->delivery(Delivery::quality(1))\n\t->effect(Effect::cartoonify());","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"string_1.jpg\", array(\"transformation\"=>array( array(\"width\"=>640, \"crop\"=>\"scale\"), array(\"effect\"=>\"blur:1000\", \"quality\"=>1), array(\"effect\"=>\"cartoonify\") )))","codeSnippet":"cl_image_tag(\"string_1.jpg\", array(\"transformation\"=>array(\n array(\"width\"=>640, \"crop\"=>\"scale\"),\n array(\"effect\"=>\"blur:1000\", \"quality\"=>1),\n array(\"effect\"=>\"cartoonify\")\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().width(640).crop(\"scale\").chain() .effect(\"blur:1000\").quality(1).chain() .effect(\"cartoonify\")).imageTag(\"string_1.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .width(640).crop(\"scale\").chain()\n .effect(\"blur:1000\").quality(1).chain()\n .effect(\"cartoonify\")).imageTag(\"string_1.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"string_1.jpg\", :transformation=>[ {:width=>640, :crop=>\"scale\"}, {:effect=>\"blur:1000\", :quality=>1}, {:effect=>\"cartoonify\"} ])","codeSnippet":"cl_image_tag(\"string_1.jpg\", :transformation=>[\n {:width=>640, :crop=>\"scale\"},\n {:effect=>\"blur:1000\", :quality=>1},\n {:effect=>\"cartoonify\"}\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().Width(640).Crop(\"scale\").Chain() .Effect(\"blur:1000\").Quality(1).Chain() .Effect(\"cartoonify\")).BuildImageTag(\"string_1.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Width(640).Crop(\"scale\").Chain()\n .Effect(\"blur:1000\").Quality(1).Chain()\n .Effect(\"cartoonify\")).BuildImageTag(\"string_1.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.cartoonify()));","codeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.cartoonify()));","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().setWidth(640).setCrop(\"scale\").chain() .setEffect(\"blur:1000\").setQuality(1).chain() .setEffect(\"cartoonify\")).generate(\"string_1.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setWidth(640).setCrop(\"scale\").chain()\n .setEffect(\"blur:1000\").setQuality(1).chain()\n .setEffect(\"cartoonify\")).generate(\"string_1.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().width(640).crop(\"scale\").chain() .effect(\"blur:1000\").quality(1).chain() .effect(\"cartoonify\")).generate(\"string_1.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .width(640).crop(\"scale\").chain()\n .effect(\"blur:1000\").quality(1).chain()\n .effect(\"cartoonify\")).generate(\"string_1.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.cartoonify()));","codeSnippet":"cloudinary.image('string_1.jpg').transformation(Transformation()\n\t.resize(Resize.scale().width(640))\n\t.effect(Effect.blur().strength(1000))\n\t.delivery(Delivery.format(\n\tFormat.auto()))\n\t.delivery(Delivery.quality(1))\n\t.effect(Effect.cartoonify()));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"string_1.jpg\")\n\t resize(Resize.scale() { width(640) })\n\t effect(Effect.blur() { strength(1000) })\n\t delivery(Delivery.format(\n\tFormat.auto()))\n\t delivery(Delivery.quality(1))\n\t effect(Effect.cartoonify()) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"string_1.jpg\")\n\t resize(Resize.scale() { width(640) })\n\t effect(Effect.blur() { strength(1000) })\n\t delivery(Delivery.format(\n\tFormat.auto()))\n\t delivery(Delivery.quality(1))\n\t effect(Effect.cartoonify()) \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(\"string_1.jpg\", {transformation: [ {width: 640, crop: \"scale\"}, {effect: \"blur:1000\", quality: 1}, {effect: \"cartoonify\"} ]})","codeSnippet":"$.cloudinary.image(\"string_1.jpg\", {transformation: [\n {width: 640, crop: \"scale\"},\n {effect: \"blur:1000\", quality: 1},\n {effect: \"cartoonify\"}\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(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(cartoonify());","codeSnippet":"new CloudinaryImage(\"string_1.jpg\")\n .resize(scale().width(640))\n .effect(blur().strength(1000))\n .delivery(format(auto()))\n .delivery(quality(1))\n .effect(cartoonify());","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\/w_640\/e_blur:1000,q_1,f_auto\/e_cartoonify\/string_1.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"width":"640"},{"effect":"blur:1000","quality":"1","format":"auto"},{"effect":"cartoonify"}],"transformation_string":"w_640\/e_blur:1000,q_1,f_auto\/e_cartoonify","url_suffix":"","version":"","secure":true,"public_id":"string_1.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" >
加载代码示例
可能性真正无穷无尽,承诺广泛效果而不牺牲性能或图像权重举个例子stagram式滤波中,您可以混合匹配期望结果让你的想象力与云化神经艺术样式转换.
可简化并缩短由云式生成的长链变换URLs,这些变换名近CSS类,即分组URL基础链变换并转换为模板步步这些步骤
- 创建 LQIP
- 登录入转到云型账号并点击左上方第三个图标媒体变换屏幕上
- 点击编辑框中上方最近变换
- 下屏幕点击保存保存模板,即命名变换
iqip
.
或从媒体变换屏幕开始(见下文)。点击创建新变换右上角并下屏幕点击另存为或保存名你偏爱
输出显示精简URL像此 :http://res.www.aaaalireno.com/demo/image/upload/w_640,f_auto/t_lqip/string_1.jpg
上头t_lqip
参数覆盖图像上执行的大多数变换,隐藏设置重定大小、裁剪、叠加等
不论媒体策略如何,我们建议你采用LQIPs系统,特别是如果您为网站装入懒散图像时使用LQIPs系统加速工作流使用云法自动生成图像占位符欢迎你的反馈并感谢你分享你的经验,最好举例子
贝斯特登录入口官网下载附加资源 :