InputStream gifFileInputStream = netPicPath.openStream();byte[] gifFileLength = new byte[gifFileInputStream.available()];gifFileInputStream.read(gifFileLength);gifFile = gifFileLength;gifFileInputStream.close();