You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I tried to apply smartcrop into a console application in .Net.
I used this sample code:
int width = 430;
int height = 135;
// find best crop
var output = new ImageCrop(width, height).Crop(bytes);
Console.WriteLine($"Best crop: {output.Area.X}, {output.Area.Y} - {output.Area.Width} x {output.Area.Height}");
Output: Best crop: 0, 10 - 901 x 284
Image property is Width=900, Height=327/
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Hello,
I tried to apply smartcrop into a console application in .Net.
I used this sample code:
Output:
Best crop: 0, 10 - 901 x 284
Image property is Width=900, Height=327/
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: