User665608656 posted
Hi powderworks,
According to your description, you can't convert an image control directly into bitmap.
In your image control, there should be an image URL path to display the image like this:
<asp:Image ID="A3picture" runat="server" ImageUrl="~/Cases/Images/logo.png" />
If you just want to convert the image into BitMap format, I suggest you get the physical path of the image directly and put it in as a parameter like below:
Bitmap uploadedImage = new Bitmap(@"C:\Users\yongqy\source\repos\CaseProject\WebApplication1\Cases\Images\logo.png");
You can refer to this link : https://docs.microsoft.com/en-us/dotnet/api/system.drawing.bitmap?view=netframework-4.8
Best Regards,
YongQing.