Class GifImageData

java.lang.Object
com.itextpdf.io.image.GifImageData

public class GifImageData extends Object
  • Field Details

    • logicalHeight

      private float logicalHeight
    • logicalWidth

      private float logicalWidth
    • frames

      private List<ImageData> frames
    • data

      private byte[] data
    • url

      private URL url
  • Constructor Details

    • GifImageData

      protected GifImageData(URL url)
    • GifImageData

      protected GifImageData(byte[] data)
  • Method Details

    • getLogicalHeight

      public float getLogicalHeight()
    • setLogicalHeight

      public void setLogicalHeight(float logicalHeight)
    • getLogicalWidth

      public float getLogicalWidth()
    • setLogicalWidth

      public void setLogicalWidth(float logicalWidth)
    • getFrames

      public List<ImageData> getFrames()
    • getData

      protected byte[] getData()
    • getUrl

      protected URL getUrl()
    • addFrame

      protected void addFrame(ImageData frame)
    • loadData

      void loadData() throws IOException
      Load data by URL. url must be not null. Note, this method doesn't check if data or url is null.
      Throws:
      IOException