Removing a Background from an Image
The CldImage component allows you to easily remove backgrounds from images using the removeBackground
prop.
Removing backgrounds require enabling the Cloudinary AI Background Removal Add-On which includes a free tier for getting started.
Example
-
<script> import { CldImage } from 'svelte-cloudinary' </script> <CldImage width="960" height="600" src="images/turtle" sizes="100vw" removeBackground alt="Turtle" />