Package 

Class DecodeUtilsKt

    • Method Summary

      Modifier and Type Method Description
      final static Boolean isGif(DecodeUtils $self, BufferedSource source) Return 'true' if the source contains a GIF image.
      final static Boolean isWebP(DecodeUtils $self, BufferedSource source) Return 'true' if the source contains a WebP image.
      final static Boolean isAnimatedWebP(DecodeUtils $self, BufferedSource source) Return 'true' if the source contains an animated WebP image.
      final static Boolean isHeif(DecodeUtils $self, BufferedSource source) Return 'true' if the source contains an HEIF image.
      final static Boolean isAnimatedHeif(DecodeUtils $self, BufferedSource source) Return 'true' if the source contains an animated HEIF image sequence.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.