Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AnimatedWebPData - Class in dev.matrixlab.webp4j.model
-
Contains all decoded frames and metadata from an animated WebP image.
- AnimatedWebPData() - Constructor for class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Public constructor.
- AnimatedWebPDecoder - Class in dev.matrixlab.webp4j.animation
-
Decoder for extracting individual frames from animated WebP images.
- AnimatedWebPEncoder - Class in dev.matrixlab.webp4j.animation
-
Encoder for creating animated WebP images from BufferedImage frames.
- AnimatedWebPFrame - Class in dev.matrixlab.webp4j.model
-
Represents a single frame extracted from an animated WebP image.
- AnimatedWebPFrame() - Constructor for class dev.matrixlab.webp4j.model.AnimatedWebPFrame
-
Public constructor.
- AnimatedWebPFrame(BufferedImage, int) - Constructor for class dev.matrixlab.webp4j.model.AnimatedWebPFrame
-
Creates a frame with the given image and timestamp.
- AnimationInfo - Class in dev.matrixlab.webp4j.model
-
Holds animation metadata extracted from GIF images.
- AnimationInfo() - Constructor for class dev.matrixlab.webp4j.model.AnimationInfo
-
Public constructor.
C
- CONTAIN - Enum constant in enum dev.matrixlab.webp4j.model.FitMode
-
Contain mode: Scale the frame to fit entirely within the canvas while preserving aspect ratio.
- convert(byte[]) - Static method in class dev.matrixlab.webp4j.gif.GifToWebPConverter
-
Converts a GIF image to WebP format with default lossy settings.
- convert(byte[], GifToWebPConfig) - Static method in class dev.matrixlab.webp4j.gif.GifToWebPConverter
-
Converts a GIF image to WebP format.
- convertLossless(byte[]) - Static method in class dev.matrixlab.webp4j.gif.GifToWebPConverter
-
Converts a GIF image to lossless WebP format.
- convertUsingJavaImageIO(byte[], GifToWebPConfig) - Static method in class dev.matrixlab.webp4j.gif.GifToWebPConverter
-
Fallback implementation: Encodes GIF to WebP using Java ImageIO for GIF decoding.
- COVER - Enum constant in enum dev.matrixlab.webp4j.model.FitMode
-
Cover mode: Scale the frame to completely fill the canvas while preserving aspect ratio.
- createAnimatedWebP(List<BufferedImage>, int[], GifToWebPConfig) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Creates an animated WebP from a list of BufferedImage frames.
- createLosslessConfig() - Static method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Creates a default configuration optimized for lossless GIF conversion.
- createLossyConfig(float) - Static method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Creates a default configuration optimized for lossy GIF conversion.
D
- decode(byte[]) - Static method in class dev.matrixlab.webp4j.animation.AnimatedWebPDecoder
-
Decodes an animated WebP image into individual frames.
- decodeAnimatedWebP(byte[]) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Decodes an animated WebP image into individual frames.
- decodeAnimatedWebP(byte[], AnimatedWebPData) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
Decodes an animated WebP image into individual frames.
- decodeGif(byte[]) - Static method in class dev.matrixlab.webp4j.gif.GifDecoderJava
-
Decodes a GIF from a byte array using Java ImageIO.
- decodeImage(byte[]) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Decodes a WebP image (stored as a byte array) into an RGB/RGBA BufferedImage.
- decodeRGBAInto(byte[], byte[], int) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
uint8_t* WebPDecodeRGBAInto(const uint8_t* data, size_t data_size, uint8_t* output_buffer, int output_buffer_size, int output_stride);
- decodeRGBInto(byte[], byte[], int) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
uint8_t* WebPDecodeRGBInto(const uint8_t* data, size_t data_size, uint8_t* output_buffer, int output_buffer_size, int output_stride);
- delayMs - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifFrame
- dev.matrixlab.webp4j - package dev.matrixlab.webp4j
- dev.matrixlab.webp4j.animation - package dev.matrixlab.webp4j.animation
- dev.matrixlab.webp4j.exception - package dev.matrixlab.webp4j.exception
- dev.matrixlab.webp4j.gif - package dev.matrixlab.webp4j.gif
- dev.matrixlab.webp4j.internal - package dev.matrixlab.webp4j.internal
- dev.matrixlab.webp4j.model - package dev.matrixlab.webp4j.model
- disposeMethod - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifFrame
E
- encode(List<BufferedImage>, int[], GifToWebPConfig) - Static method in class dev.matrixlab.webp4j.animation.AnimatedWebPEncoder
-
Creates an animated WebP from a list of BufferedImage frames.
- encode(List<BufferedImage>, int, GifToWebPConfig) - Static method in class dev.matrixlab.webp4j.animation.AnimatedWebPEncoder
-
Creates an animated WebP with uniform delay for all frames.
- encodeAnimatedWebP(byte[][], int[], int, int, float, boolean, int, int, int, int, boolean, boolean) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
Encodes animated WebP from Java-decoded GIF frames.
- encodeGifToWebP(byte[]) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Converts a GIF image to WebP format with default lossy settings.
- encodeGifToWebP(byte[], float, boolean, int, boolean, int, int, int, boolean, boolean) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
Converts GIF data to WebP format using native giflib decoder.
- encodeGifToWebP(byte[], GifToWebPConfig) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Converts a GIF image to WebP format.
- encodeGifToWebPLossless(byte[]) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Converts a GIF image to lossless WebP format.
- encodeImage(BufferedImage, float) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Encodes an RGB/RGBA BufferedImage to a lossy WebP encoded byte array.
- encodeImage(BufferedImage, float, boolean) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Encodes an RGB/RGBA BufferedImage to a WebP encoded byte array.
- encodeLosslessImage(BufferedImage) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Encodes an RGB/RGBA BufferedImage to a lossless WebP encoded byte array.
- encodeLosslessRGB(byte[], int, int, int) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
size_t WebPEncodeLosslessRGB(const uint8_t* rgb, int width, int height, int stride, uint8_t** output);
- encodeLosslessRGBA(byte[], int, int, int) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
size_t WebPEncodeLosslessRGBA(const uint8_t* rgba, int width, int height, int stride, uint8_t** output);
- encodeRGB(byte[], int, int, int, float) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
size_t WebPEncodeRGB(const uint8_t* rgb, int width, int height, int stride, float quality_factor, uint8_t** output);
- encodeRGBA(byte[], int, int, int, float) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
size_t WebPEncodeRGBA(const uint8_t* rgba, int width, int height, int stride, float quality_factor, uint8_t** output);
F
- FitMode - Enum in dev.matrixlab.webp4j.model
-
Defines how frames should be fitted onto a target canvas when normalizing frames for animation.
- FrameNormalizer - Class in dev.matrixlab.webp4j.animation
-
Utility class for normalizing animation frames to a common canvas size.
- frames - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifData
G
- getBgcolor() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Gets the background color of the animation canvas.
- getCanvasHeight() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Gets the canvas height in pixels.
- getCanvasWidth() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Gets the canvas width in pixels.
- getCompressionMethod() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Gets the compression method.
- getDelays() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Computes per-frame delays from the cumulative timestamps.
- getFeatures(byte[], int, WebPBitstreamFeatures) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
VP8StatusCode WebPGetFeatures(const uint8_t* data, size_t data_size, WebPBitstreamFeatures* features);
- getFormat() - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- getFrameCount() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Gets the total number of frames in the animation.
- getFrameCount() - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Gets the number of frames in the GIF animation.
- getFrames() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Gets the list of decoded frames.
- getGifInfo(byte[]) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Gets information about a GIF image without performing full conversion.
- getGifInfo(byte[], AnimationInfo) - Static method in class dev.matrixlab.webp4j.gif.GifDecoderJava
-
Gets GIF information without full decoding.
- getGifInfo(byte[], AnimationInfo) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
Gets information about a GIF file using native giflib.
- getHeight() - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Gets the height of the GIF image in pixels.
- getHeight() - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- getImage() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPFrame
-
Gets the frame image.
- getInfo(byte[]) - Static method in class dev.matrixlab.webp4j.gif.GifToWebPConverter
-
Gets information about a GIF image without performing full conversion.
- getInfo(byte[], int[]) - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
int WebPGetInfo(const uint8_t* data, size_t data_size, int* width, int* height);
- getKmax() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Gets the maximum distance between key frames.
- getKmin() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Gets the minimum distance between key frames.
- getLoopCount() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Gets the loop count for animation.
- getLoopCount() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Gets the loop count for the animation.
- getLoopCount() - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Gets the loop count for the animation.
- getQuality() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Gets the quality factor for lossy compression.
- getRawFrameData() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Gets the raw RGBA frame data populated by the native layer.
- getStatusCode(int) - Static method in enum dev.matrixlab.webp4j.model.VP8StatusCode
- getTimestamp() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPFrame
-
Gets the cumulative timestamp of this frame in milliseconds.
- getTimestamps() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Gets the cumulative timestamps for each frame in milliseconds.
- getWebPInfo(byte[]) - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Retrieves information about a WebP image.
- getWidth() - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Gets the width of the GIF image in pixels.
- getWidth() - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- GifData() - Constructor for class dev.matrixlab.webp4j.gif.GifDecoderJava.GifData
- GifDecoderJava - Class in dev.matrixlab.webp4j.gif
-
Java-based GIF decoder using ImageIO.
- GifDecoderJava.GifData - Class in dev.matrixlab.webp4j.gif
-
Holds all decoded GIF data including frames and metadata.
- GifDecoderJava.GifFrame - Class in dev.matrixlab.webp4j.gif
-
Represents a single frame in a GIF animation.
- GifFrame() - Constructor for class dev.matrixlab.webp4j.gif.GifDecoderJava.GifFrame
- GifToWebPConfig - Class in dev.matrixlab.webp4j.gif
-
Configuration options for GIF to WebP conversion.
- GifToWebPConfig() - Constructor for class dev.matrixlab.webp4j.gif.GifToWebPConfig
- GifToWebPConverter - Class in dev.matrixlab.webp4j.gif
-
Converter for transforming GIF images to WebP format.
H
- hasTransparency - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifData
- hasTransparency() - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Checks if the GIF has transparency (transparent color index).
- height - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifData
I
- image - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifFrame
- isAllowMixed() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Checks if mixed compression mode is enabled.
- isAnimated() - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Checks if the GIF is animated (has multiple frames).
- isAvailable() - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
Checks if the native library has been successfully loaded.
- isAvailable() - Static method in class dev.matrixlab.webp4j.WebPCodec
-
Checks if WebP support is available on the current platform.
- isExtractFirstFrameOnly() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Checks if only the first frame should be extracted.
- isHasAlpha() - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- isHasAnimation() - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- isLossless() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Checks if lossy compression is enabled.
- isMinimizeSize() - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Checks if size minimization is enabled.
L
- leftOffset - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifFrame
- loadLibrary() - Static method in class dev.matrixlab.webp4j.internal.NativeLibraryLoader
- loopCount - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifData
N
- NativeLibraryLoader - Class in dev.matrixlab.webp4j.internal
- NativeLibraryNotFoundException - Exception Class in dev.matrixlab.webp4j.exception
- NativeLibraryNotFoundException(String) - Constructor for exception class dev.matrixlab.webp4j.exception.NativeLibraryNotFoundException
- NativeLibraryNotFoundException(String, Throwable) - Constructor for exception class dev.matrixlab.webp4j.exception.NativeLibraryNotFoundException
- NativeWebP - Class in dev.matrixlab.webp4j.internal
- normalize(List<BufferedImage>) - Static method in class dev.matrixlab.webp4j.animation.FrameNormalizer
-
Normalizes a list of frames for animation using default strategy.
- normalize(List<BufferedImage>, Integer, Integer, FitMode, boolean, Color) - Static method in class dev.matrixlab.webp4j.animation.FrameNormalizer
-
Normalizes frames to a common canvas with configurable strategy.
P
- PixelConverter - Class in dev.matrixlab.webp4j.internal
-
Internal utility class for converting between BufferedImage and raw pixel byte arrays.
S
- setAllowMixed(boolean) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets whether to allow mixed compression mode.
- setBgcolor(int) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Sets the background color.
- setCanvasHeight(int) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Sets the canvas height.
- setCanvasWidth(int) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Sets the canvas width.
- setCompressionMethod(int) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets the compression method.
- setExtractFirstFrameOnly(boolean) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets whether to extract only the first frame of an animated GIF.
- setFormat(int) - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- setFrameCount(int) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Sets the frame count.
- setFrameCount(int) - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Called by WebPCodec or native code.
- setFrames(List<AnimatedWebPFrame>) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Sets the list of decoded frames.
- setHasAlpha(boolean) - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- setHasAnimation(boolean) - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- setHasTransparency(boolean) - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Called by WebPCodec or native code.
- setHeight(int) - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Called by WebPCodec or native code.
- setHeight(int) - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- setImage(BufferedImage) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPFrame
-
Sets the frame image.
- setKmax(int) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets the maximum distance between key frames.
- setKmin(int) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets the minimum distance between key frames.
- setLoopCount(int) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets the loop count for animation.
- setLoopCount(int) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Sets the loop count.
- setLoopCount(int) - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Called by WebPCodec or native code.
- setLossless(boolean) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets whether to use lossless compression.
- setMinimizeSize(boolean) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets whether to minimize output size.
- setQuality(float) - Method in class dev.matrixlab.webp4j.gif.GifToWebPConfig
-
Sets the quality factor for lossy compression.
- setRawFrameData(byte[][]) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Sets the raw frame data.
- setTimestamp(int) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPFrame
-
Sets the cumulative timestamp of this frame.
- setTimestamps(int[]) - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
-
Sets the timestamps array.
- setWidth(int) - Method in class dev.matrixlab.webp4j.model.AnimationInfo
-
Called by WebPCodec or native code.
- setWidth(int) - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- STRETCH - Enum constant in enum dev.matrixlab.webp4j.model.FitMode
-
Stretch mode: Stretch the frame to exactly match the canvas dimensions.
T
- toBufferedImage(int, int, byte[]) - Static method in class dev.matrixlab.webp4j.internal.PixelConverter
-
Creates a BufferedImage from a byte array containing pixel data.
- toBytes(BufferedImage) - Static method in class dev.matrixlab.webp4j.internal.PixelConverter
-
Extracts pixel data from a BufferedImage into a byte array.
- topOffset - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifFrame
- toString() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPData
- toString() - Method in class dev.matrixlab.webp4j.model.AnimatedWebPFrame
- toString() - Method in class dev.matrixlab.webp4j.model.AnimationInfo
- toString() - Method in class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
U
- unavailabilityCause() - Static method in class dev.matrixlab.webp4j.internal.NativeWebP
-
Returns the cause of unavailability if the native library failed to load.
V
- valueOf(String) - Static method in enum dev.matrixlab.webp4j.model.FitMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.matrixlab.webp4j.model.VP8StatusCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum dev.matrixlab.webp4j.model.FitMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.matrixlab.webp4j.model.VP8StatusCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VP8_STATUS_BITSTREAM_ERROR - Enum constant in enum dev.matrixlab.webp4j.model.VP8StatusCode
- VP8_STATUS_INVALID_PARAM - Enum constant in enum dev.matrixlab.webp4j.model.VP8StatusCode
- VP8_STATUS_NOT_ENOUGH_DATA - Enum constant in enum dev.matrixlab.webp4j.model.VP8StatusCode
- VP8_STATUS_OK - Enum constant in enum dev.matrixlab.webp4j.model.VP8StatusCode
- VP8_STATUS_OUT_OF_MEMORY - Enum constant in enum dev.matrixlab.webp4j.model.VP8StatusCode
- VP8_STATUS_SUSPENDED - Enum constant in enum dev.matrixlab.webp4j.model.VP8StatusCode
- VP8_STATUS_UNSUPPORTED_FEATURE - Enum constant in enum dev.matrixlab.webp4j.model.VP8StatusCode
- VP8_STATUS_USER_ABORT - Enum constant in enum dev.matrixlab.webp4j.model.VP8StatusCode
- VP8StatusCode - Enum in dev.matrixlab.webp4j.model
W
- WebPBitstreamFeatures - Class in dev.matrixlab.webp4j.model
-
Represents WebP bitstream features.
- WebPBitstreamFeatures() - Constructor for class dev.matrixlab.webp4j.model.WebPBitstreamFeatures
- WebPCodec - Class in dev.matrixlab.webp4j
-
Main facade class for WebP encoding and decoding operations.
- width - Variable in class dev.matrixlab.webp4j.gif.GifDecoderJava.GifData
All Classes and Interfaces|All Packages|Serialized Form