Class MJPEGGenerator

java.lang.Object
net.sourceforge.plantuml.mjpeg.MJPEGGenerator

public class MJPEGGenerator extends Object
  • Constructor Details

    • MJPEGGenerator

      public MJPEGGenerator(SFile aviFile, int width, int height, double framerate, int numFrames) throws IOException
      Creates a new instance of MJPEGGenerator
      Throws:
      IOException
  • Method Details

    • addImage

      public void addImage(Image image) throws IOException
      Throws:
      IOException
    • finishAVI

      public void finishAVI() throws IOException
      Throws:
      IOException
    • swapInt

      public static int swapInt(int v)
    • swapShort

      public static short swapShort(short v)
    • intBytes

      public static byte[] intBytes(int i)
    • shortBytes

      public static byte[] shortBytes(short i)