Image Editing
Prerequisites
Edit an Image
const resultPathResponse = await getResultPath(`${Date.now()}-editImage`);// result path will be available from step 1
// media item will be get from camera module or pass string file path
const payload = {
inputPath: filePath,
outputPath: resultPathResponse.result,
};
const { result } = await TruvideoSdkImage.editImage(payload);
console.log("Edit Image Response:", result);Finalize :
Learn More
Last updated
Was this helpful?