PictureBox
will only load an Image
object, so it will only load image data that will generate such an object. WEBP exists for the web, so the answer is basically "no". You'd need to convert that data to a more common format and then load that. The alternative would be to use a WebView2
control on your form to actually load a web document, i.e. the WEBP image.Here you go, I tested it. This will load on form load event.
Simple solution: pictureBox1.LoadAsync("http://google.com/test.png") 'Just put the link address here
PictureBox
control only supports those image formats that can be loaded into a System.Drawing.Image
object. That does include PNG but it doesn't include WEBP.Can you load a .webp image into picturebox?