From 06b528212e4685a38dd6ddd95d09644f7032d119 Mon Sep 17 00:00:00 2001 From: ANKUR DWIVEDI Date: Fri, 2 Feb 2024 11:48:27 +0530 Subject: [PATCH] added transformation snippet in readme --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a514c49..b996815 100644 --- a/README.md +++ b/README.md @@ -375,7 +375,16 @@ You can pass other parameters supported by the ImageKit upload API using the sam minConfidence: 80, maxTags: 10 } - ] + ], + transformation: { + pre: 'l-text,i-Imagekit,fs-50,l-end', + post: [ + { + type: 'transformation', + value: 'w-100' + } + ] + } }, function(err, result) { console.log(result); }) @@ -394,7 +403,16 @@ You can pass other parameters supported by the ImageKit upload API using the sam minConfidence: 80, maxTags: 10 } - ] + ], + transformation: { + pre: 'l-text,i-Imagekit,fs-50,l-end', + post: [ + { + type: 'transformation', + value: 'w-100' + } + ] + } }).then(result => { console.log(result); }).then(error => {