java.lang.Object |
↳ |
com.facebook.imageutils.WebpUtil |
Class Overview
This class contains utility method in order to manage the WebP format metadata
Summary
Public Methods |
static
int
|
get2BytesAsInt(InputStream is)
|
static
Pair<Integer, Integer>
|
getSize(InputStream is)
This method checks for the dimension of the WebP image from the given InputStream.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
public
static
int
get2BytesAsInt
(InputStream is)
public
static
Pair<Integer, Integer>
getSize
(InputStream is)
This method checks for the dimension of the WebP image from the given InputStream. We don't
support mark/reset and the Stream is always closed.
Parameters
is |
The InputStream used for read WebP data |
Returns
- The Size of the WebP image if any or null if the size is not available