I'm on a fairly fresh V 13.0.3 with converted content from V7.
When making image urls with GetCropUrl passing ImageCropMode.Crop the images are still padded with black. No mode="crop" in the querystring.
Adding mode="crop" manually makes the image actually crop instead of pad.
Is this expected behavior? Am I missing something? Are my data bad?
I'm stumped.
#GetCropUrl with ImageCropMode.Crop don't add mode=crop and don't crop
1 messages · Page 1 of 1 (latest)
Hi there! If I remember correctly, there is an additional setting that you need to set in the GetCropUrl before it will actually crop. I don't remember which setting exactly it was. useCropDimensions maybe?
So this was me confusing ImageProcessor with ImageSharp. 🤦♂️
Don't ask...
I think to get it to crop, you must provide both a width and height value otherwise it does a resize
Cheers @quaint basin, but see my last comment. 🙈
the values are slightly changed in Imagesharp