Crop according to clipping path
Hi,
I have an image that has several clipping paths. Retrieving them is no problem. Example:
http://res.cloudinary.com/test-coop/image/upload/fl_clip,pg_2/v1429273795/2133.jpg
What I want to do is for cloudinary to ignore all the white background. Crop it if you want.
Can this be done?
-
Yes, of course. You can use the
trim
effect to crop all whitespaces, as explained in the following: http://support.cloudinary.com/hc/communities/public/questions/200787332-Trim-method0 -
Thanks for the quick answer. But I still can't get it to work. See:
http://res.cloudinary.com/test-coop/image/upload/fl_clip,pg_2/e_trim/v1429273795/2133.jpgAny idéa what can be wrong?
0 -
When you experience an issue with Cloudinary, you can always have a look at the HTTP response headers, under
X-Cld-Error
. In this case the following is returned:X-Cld-Error:Maximum image size is 5000x5000. Requested 5412x7216
Cloudinary has a default limit of 5K x 5K pixels when applying transformations. However, since the end-result image is smaller than that, you can tell Cloudinary to first make sure the image doesn't exceed 5K and 5K, then you'll be able to apply any further transformations. For example:
0
Post is closed for comments.
Comments
3 comments