I'm currently using the following code to create an google.cloud.vision.v1.image
from a local file
var image = Image.FromFile(path);
In order to save bandwidth and processing time, I need to resize this image before sending it for processing. I can resize a System.Drawing.Bitmap
but how can I create google.cloud.vision.v1.image
from this Bitmap.
Can someone please point me to the documentation of this class?