Package steganography.image
Class GIFMakerImageIO
- java.lang.Object
-
- steganography.image.GIFMakerImageIO
-
- All Implemented Interfaces:
IGIFMaker
public class GIFMakerImageIO extends java.lang.Object implements IGIFMaker
Implementation for PC Version using GIFDecoder and java.imageio- Author:
- Selina Wernike
- See Also:
GifDecoder
-
-
Constructor Summary
Constructors Constructor Description GIFMakerImageIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
sequenzGIF(byte[][] framesGIF)
Creates a GIF from several single gif.byte[]
sequenzGIFImageIO(byte[][] gifs)
Deprecated.byte[][]
splitGIF(byte[] animatedGIF)
Splits the GIF into singular Framesbyte[][]
splitGifImageIO(byte[] animatedGif)
Deprecated.
-
-
-
Method Detail
-
splitGIF
public byte[][] splitGIF(byte[] animatedGIF) throws UnsupportedImageTypeException
Description copied from interface:IGIFMaker
Splits the GIF into singular Frames- Specified by:
splitGIF
in interfaceIGIFMaker
- Parameters:
animatedGIF
- a byte array with the animated gif, that needs to be splitted- Returns:
- byte[][] output an two dimensional array which contains all gif data
- Throws:
UnsupportedImageTypeException
- When image is not a gif- See Also:
GifDecoder
-
sequenzGIF
public byte[] sequenzGIF(byte[][] framesGIF)
Creates a GIF from several single gif. If a delay exists it will be set in the Metadata- Specified by:
sequenzGIF
in interfaceIGIFMaker
- Parameters:
framesGIF
- Single Gif images- Returns:
- byte[] Single GIF that loops
-
splitGifImageIO
@Deprecated public byte[][] splitGifImageIO(byte[] animatedGif) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
sequenzGIFImageIO
@Deprecated public byte[] sequenzGIFImageIO(byte[][] gifs)
Deprecated.
-
-