Chronostasys / Blazor.Cropper

A blazor library provides component to crop image
MIT License
84 stars 19 forks source link

Added parameters to set the final size of the cropped image #56

Closed TeodoroAbdo87 closed 2 years ago

TeodoroAbdo87 commented 2 years ago

For my database I need the images to always have the same size so I added 2 parameters (FinalCropHeight and FinalCropWidth) to the Cropper class and modified the GetCropedResult() method a little bit. Thats the only real change. I hope you dont mind but other than that, I just used ReSharper to do a basic cleanup/formatting of the code. It should have no impact on the functionality.