kraken-net icon indicating copy to clipboard operation
kraken-net copied to clipboard

Strategy Crop and Fit are missing X and Y?

Open Sumomannen opened this issue 6 years ago • 1 comments

Hi, I can't see how to set X and Y when using strategy crop. Can it be added so we can use it with "Fit" and "Crop"? "resize": { "strategy": "crop", "x": 200, "y": 200, "width": 500, "height": 500, "scale": 50 }

Thanks

Sumomannen avatar Jul 22 '18 12:07 Sumomannen

Hi, thanks for bringing this up. Yes, this is missing at the moment, the fields aren't included within the model and therefore you won't have the option to pass the parameters into the API. Please feel free to create a PR for the changes. If not, I will add it later this week.

Kevin-Bronsdijk avatar Jul 23 '18 02:07 Kevin-Bronsdijk