We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73356b2 commit 7cd7653Copy full SHA for 7cd7653
examples/node-transformations-effects/image-optimization.js
@@ -0,0 +1,19 @@
1
+require('dotenv').config()
2
+const cloudinary = require('cloudinary').v2;
3
+
4
+cloudinary.config({cloud_name: process.env.CLOUDINARY_CLOUD_NAME})
5
6
+// Quality Options
7
+// ---------------
8
+// auto
9
+// best
10
+// good
11
+// eco
12
+// low
13
14
+const img = cloudinary.url("examples/shoes_kto0zb", {
15
+ quality: "auto",
16
+ fetch_format: "auto",
17
+})
18
19
+console.log(img)
0 commit comments