Interface IGIFMaker

  • All Known Implementing Classes:
    GIFMakerImageIO

    public interface IGIFMaker
    Author:
    Selina Wernike The class splits an animated gif into several single frame gifs or vice versa
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      byte[] sequenzGIF​(byte[][] framesGIF)
      Sequenzes several frames to a single GIF
      byte[][] splitGIF​(byte[] animatedGIF)
      Splits the GIF into singular Frames
    • Method Detail

      • splitGIF

        byte[][] splitGIF​(byte[] animatedGIF)
                   throws UnsupportedImageTypeException
        Splits the GIF into singular Frames
        Parameters:
        animatedGIF - GIF as an byte array
        Returns:
        byte[][] Array containing each frame as an byte array
        Throws:
        UnsupportedImageTypeException - thrown if image isn,t an GIF Image or has a global color table
      • sequenzGIF

        byte[] sequenzGIF​(byte[][] framesGIF)
        Sequenzes several frames to a single GIF
        Parameters:
        framesGIF - gif frames as byte arrays
        Returns:
        byte[] a single gif as an byte array