Uses of Class
dev.matrixlab.webp4j.gif.GifToWebPConfig
Packages that use GifToWebPConfig
-
Uses of GifToWebPConfig in dev.matrixlab.webp4j
Methods in dev.matrixlab.webp4j with parameters of type GifToWebPConfigModifier and TypeMethodDescriptionstatic byte[]WebPCodec.createAnimatedWebP(List<BufferedImage> frames, int[] delays, GifToWebPConfig config) Creates an animated WebP from a list of BufferedImage frames.static byte[]WebPCodec.encodeGifToWebP(byte[] gifData, GifToWebPConfig config) Converts a GIF image to WebP format. -
Uses of GifToWebPConfig in dev.matrixlab.webp4j.animation
Methods in dev.matrixlab.webp4j.animation with parameters of type GifToWebPConfigModifier and TypeMethodDescriptionstatic byte[]AnimatedWebPEncoder.encode(List<BufferedImage> frames, int[] delays, GifToWebPConfig config) Creates an animated WebP from a list of BufferedImage frames.static byte[]AnimatedWebPEncoder.encode(List<BufferedImage> frames, int delay, GifToWebPConfig config) Creates an animated WebP with uniform delay for all frames. -
Uses of GifToWebPConfig in dev.matrixlab.webp4j.gif
Methods in dev.matrixlab.webp4j.gif that return GifToWebPConfigModifier and TypeMethodDescriptionstatic GifToWebPConfigGifToWebPConfig.createLosslessConfig()Creates a default configuration optimized for lossless GIF conversion.static GifToWebPConfigGifToWebPConfig.createLossyConfig(float quality) Creates a default configuration optimized for lossy GIF conversion.GifToWebPConfig.setAllowMixed(boolean allowMixed) Sets whether to allow mixed compression mode.GifToWebPConfig.setCompressionMethod(int compressionMethod) Sets the compression method.GifToWebPConfig.setExtractFirstFrameOnly(boolean extractFirstFrameOnly) Sets whether to extract only the first frame of an animated GIF.GifToWebPConfig.setKmax(int kmax) Sets the maximum distance between key frames.GifToWebPConfig.setKmin(int kmin) Sets the minimum distance between key frames.GifToWebPConfig.setLoopCount(int loopCount) Sets the loop count for animation.GifToWebPConfig.setLossless(boolean lossless) Sets whether to use lossless compression.GifToWebPConfig.setMinimizeSize(boolean minimizeSize) Sets whether to minimize output size.GifToWebPConfig.setQuality(float quality) Sets the quality factor for lossy compression.Methods in dev.matrixlab.webp4j.gif with parameters of type GifToWebPConfigModifier and TypeMethodDescriptionstatic byte[]GifToWebPConverter.convert(byte[] gifData, GifToWebPConfig config) Converts a GIF image to WebP format.static byte[]GifToWebPConverter.convertUsingJavaImageIO(byte[] gifData, GifToWebPConfig config) Fallback implementation: Encodes GIF to WebP using Java ImageIO for GIF decoding.