-
public final class DecodeUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static BooleanisGif(DecodeUtils $self, BufferedSource source)Return 'true' if the source contains a GIF image. final static BooleanisWebP(DecodeUtils $self, BufferedSource source)Return 'true' if the source contains a WebP image. final static BooleanisAnimatedWebP(DecodeUtils $self, BufferedSource source)Return 'true' if the source contains an animated WebP image. final static BooleanisHeif(DecodeUtils $self, BufferedSource source)Return 'true' if the source contains an HEIF image. final static BooleanisAnimatedHeif(DecodeUtils $self, BufferedSource source)Return 'true' if the source contains an animated HEIF image sequence. -
-
Method Detail
-
isGif
final static Boolean isGif(DecodeUtils $self, BufferedSource source)
Return 'true' if the source contains a GIF image. The source is not consumed.
-
isWebP
final static Boolean isWebP(DecodeUtils $self, BufferedSource source)
Return 'true' if the source contains a WebP image. The source is not consumed.
-
isAnimatedWebP
final static Boolean isAnimatedWebP(DecodeUtils $self, BufferedSource source)
Return 'true' if the source contains an animated WebP image. The source is not consumed.
-
isHeif
final static Boolean isHeif(DecodeUtils $self, BufferedSource source)
Return 'true' if the source contains an HEIF image. The source is not consumed.
-
isAnimatedHeif
final static Boolean isAnimatedHeif(DecodeUtils $self, BufferedSource source)
Return 'true' if the source contains an animated HEIF image sequence. The source is not consumed.
-
-
-
-