Class MJPEGGenerator

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

public class MJPEGGenerator extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    MJPEGGenerator(SFile aviFile, int width, int height, double framerate, int numFrames)
    Creates a new instance of MJPEGGenerator
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addImage(java.awt.Image image)
     
    void
     
    static byte[]
    intBytes(int i)
     
    static byte[]
    shortBytes(short i)
     
    static int
    swapInt(int v)
     
    static short
    swapShort(short v)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MJPEGGenerator

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

    • addImage

      public void addImage(java.awt.Image image) throws java.io.IOException
      Throws:
      java.io.IOException
    • finishAVI

      public void finishAVI() throws java.io.IOException
      Throws:
      java.io.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)