-
-
Method Summary
Modifier and Type Method Description final IntegergetWidth()final IntegergetHeight()final BooleangetHasAlpha()final BooleangetHasAnimation()final IntegergetBgColor()final IntegergetFrameCount()final IntegergetLoopCount()-
-
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).
-
-
Method Detail
-
getHasAlpha
final Boolean getHasAlpha()
-
getHasAnimation
final Boolean getHasAnimation()
-
getBgColor
final Integer getBgColor()
-
getFrameCount
final Integer getFrameCount()
-
getLoopCount
final Integer getLoopCount()
-
-
-
-