Processes one image with the Canvas engine.
const result = await processImage(file, { format: 'image/webp', quality: 0.8, resize: { width: 1200 } }); Copy
const result = await processImage(file, { format: 'image/webp', quality: 0.8, resize: { width: 1200 } });
Processes one image with the Canvas engine.