I need download an animated gif picture from Internet with httpClient. I used this method.
HttpResponse httpResponse = HttpClientUtils.getResponse(httpGet);
InputStream is = httpResponse.getEntity().getContent();
BufferedImage sourceImg = ImageIO.read(is);
ImageIO.write(sourceImg, "gif", file);
But the picture is static.
for example:
I want:
Actually:
The actual picture is the first of the animated gif.
Thanks.