synchronized int read ( byte [ ] data ) { this . header = getHeaderParser ( ) . setData ( data ) . parseHeader ( ) ; if ( data != null ) { setData ( header , data ) ; } return status ; }
Reads GIF image from byte array .