Package dev.matrixlab.webp4j.model
Class WebPBitstreamFeatures
java.lang.Object
dev.matrixlab.webp4j.model.WebPBitstreamFeatures
Represents WebP bitstream features.
This class is used by JNI code to return image metadata.
Fields are public to allow direct access from native code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintgetWidth()booleanbooleanvoidsetFormat(int format) voidsetHasAlpha(boolean hasAlpha) voidsetHasAnimation(boolean hasAnimation) voidsetHeight(int height) voidsetWidth(int width) toString()
-
Constructor Details
-
WebPBitstreamFeatures
public WebPBitstreamFeatures()
-
-
Method Details
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
isHasAlpha
public boolean isHasAlpha() -
setHasAlpha
public void setHasAlpha(boolean hasAlpha) -
isHasAnimation
public boolean isHasAnimation() -
setHasAnimation
public void setHasAnimation(boolean hasAnimation) -
getFormat
public int getFormat() -
setFormat
public void setFormat(int format) -
toString
-