Package 

Class WebPInfo


  • 
    public final class WebPInfo
    
                        

    The WebPInfo data class represents information about a WebP image.

    • Constructor Detail

      • WebPInfo

        WebPInfo(Integer width, Integer height, Boolean hasAlpha, Boolean hasAnimation, Integer bgColor, Integer frameCount, Integer loopCount)
        Parameters:
        width - The width of the WebP image in pixels.
        height - The height of the WebP image in pixels.
        hasAlpha - Specifies whether the WebP image has an alpha channel.
        hasAnimation - Specifies whether the WebP image contains animation.
        bgColor - The background color of the WebP animation canvas (only available if the image has animation).
        frameCount - The number of frames in the WebP animation (only available if the image has animation).
        loopCount - The number of times the WebP animation should be looped (only available if the image has animation).