-
Why c_limit is apply on SVG ?
The c_limit parameter is applied to avoid upscaling images. However, it also seems to be applied to SVG files, which doesn't make sense because SVGs are vector-based and don't have "upscaling" issues. For example, if "example.svg" has a size of 500px, the following URL will return a PNG of 500px instead of the expected…
-
Need some help with image cropping transformation
I need to crop a batch of images that have a person in them to specific dimensions. I want to keep the person in the result crop, but I want them to be placed at a specific part of the image, for example, south east. I have thought about using x,y coordinates, but that would mean I would need to determine the coordinates…
-
Is there a way to crop custom coordinates using the React/NextJS SDK?
Hi! We use the nextJS component for displaying cloudinary images which works great. We want to build in the ability for admins to crop and move images around for profile pictures, which gives us a "zoom/scale" value and an x/y coordinate. It looks like both are supported via API, but not clear how we'd do this in our react…
-
cloudinary.url() with crop doesn't return sized image
const sizedUrl = cloudinary.url( file_name , { transformation: [ {width: 96, crop: "scale"}, {quality: "auto"}, {fetch_format: "auto"} ] } ); Returns the url, http://res.cloudinary.com/XXXXXX/image/upload/v1/file_name but the file size is just the original file size, why? Also option {secure: true} doesn't return https but…
-
Can I create custom collage based on image sizes?
If I do not know the image sizes, the height and width, can I create a collage that will assign each image a vertical/horizontal spot in the template based on their ratio or height/width? Is there a way to create a collage with images that do not have the same size but be fit in without cropping? The images are random and…
-
Transformation URL
I am encountering difficulty in cropping a regular image into a hexagonal shape after uploading it to a specific folder. The provided URL example (https://my_cloud_name/image/upload/a_0/c_crop,w_2611,h_2261,x_43,y_5/l_hexagon,w_2611,h_2261,fl_cutter/public_id) illustrates successful hexagonal cropping when the image is…