Hey all, it doesn’t seem like I can call System.Drawing.Bitmap like the snippet below on Windows. However, the same code works on macOS. How can I fix it? Thanks!
web_client = System.Net.WebClient()
image_data = web_client.DownloadData(image_url)
# Convert to a Bitmap
memory_stream = System.IO.MemoryStream(image_data)
bitmap = System.Drawing.Bitmap(memory_stream)