Skip to content

Commit 06b5282

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
authored andcommitted
added transformation snippet in readme
1 parent f0d610c commit 06b5282

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,16 @@ You can pass other parameters supported by the ImageKit upload API using the sam
375375
minConfidence: 80,
376376
maxTags: 10
377377
}
378-
]
378+
],
379+
transformation: {
380+
pre: 'l-text,i-Imagekit,fs-50,l-end',
381+
post: [
382+
{
383+
type: 'transformation',
384+
value: 'w-100'
385+
}
386+
]
387+
}
379388
}, function(err, result) {
380389
console.log(result);
381390
})
@@ -394,7 +403,16 @@ You can pass other parameters supported by the ImageKit upload API using the sam
394403
minConfidence: 80,
395404
maxTags: 10
396405
}
397-
]
406+
],
407+
transformation: {
408+
pre: 'l-text,i-Imagekit,fs-50,l-end',
409+
post: [
410+
{
411+
type: 'transformation',
412+
value: 'w-100'
413+
}
414+
]
415+
}
398416
}).then(result => {
399417
console.log(result);
400418
}).then(error => {

0 commit comments

Comments
 (0)