-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Bug Report
Describe the bug
Using generative fill with images that are bigger than 25 megapixels is causing a transformation error. Adding a c_limit before a b_gen_fill call in the transformation chain gets rid of this issue.
Is this a regression?
No
Steps To Reproduce the error
- Create a project with one of the community SDKs
eg. Svelte:
<script>
import { CldImage } from 'svelte-cloudinary';
</script>
<CldImage
src="demo/nice-red-shoe.jpg"
width="960"
height="600"
alt=""
crop="pad"
fillBackground
/>
Add an image where the MP is higher than 25MP. Play around with fillBackground and crop options.
Expected behaviour
fillBackground should restrict the image to match the MP limit
CodeSandbox or Live Example of Bug
https://codesandbox.io/p/devbox/mqsvyn?file=%2Fsrc%2Froutes%2F%2Bpage.svelte%3A5%2C39
Metadata
Metadata
Assignees
Labels
No labels