How to download the picture from the Internet and show it in shape.
I'm getting images from the page with JSoup.
We need to download the picture and show it on the frimet.
briley last edited by
- We're taking pictures from HTML URL with JSOUP.
- We'll take a picture with help. http://docs.oracle.com/javase/7/docs/api/javax/imageio/ImageIO.html#read%28java.net.URL%29 ;
- We're taking pictures with help. http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics.html#drawImage%28java.awt.Image,%20int,%20int,%20java.awt.image.ImageObserver%29
We can read more. https://docs.oracle.com/javase/tutorial/2d/images/loadimage.html (English). There's a small and indicative example.