java.lang.Object | |
↳ | com.facebook.imageformat.DefaultImageFormatChecker |
Default image format checker that is able to determine all DefaultImageFormats
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DefaultImageFormatChecker() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
final ImageFormat |
determineFormat(byte[] headerBytes, int headerSize)
Tries to match imageHeaderByte and headerSize against every known image format.
| ||||||||||
int |
getHeaderSize()
Get the number of header bytes the format checker requires
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.imageformat.ImageFormat.FormatChecker
|
Tries to match imageHeaderByte and headerSize against every known image format. If any match succeeds, corresponding ImageFormat is returned.
headerBytes | the header bytes to check |
---|---|
headerSize | the available header size |
Get the number of header bytes the format checker requires