Any idea on how to get an image dimensions in asp.net core, knowing that System.Drawing.Image doesn't work on this version. This is how I am actually reading the image:
byte[] data = File.ReadAllBytes("path_to_image");
return data;
i.e.: Can I find the Height and Width of an image in its byte[] representaion?
Any help in how to rotate the image is also welcome.