JIU 0.14.3

net.sourceforge.jiu.codecs.jpeg
Class JPEGData

java.lang.Object
  extended by net.sourceforge.jiu.codecs.jpeg.JPEGData

public class JPEGData
extends Object

Data for decoding or encoding images from or to JPEG File Interchange Format (JFIF) files.

Since:
0.13.0
Author:
Marco Schmidt

Constructor Summary
JPEGData()
           
 
Method Summary
 void addHuffmanTable(JPEGHuffmanTable table)
           
 void addQuantizationTable(JPEGQuantizationTable table)
           
 void addScan(JPEGScan scan)
           
 JPEGFrame getFrame()
           
 JPEGQuantizationTable getQuantizationTable(int id)
          Return a quantization table with a given id or null on failure to find it.
 void setFrame(JPEGFrame newFrame)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPEGData

public JPEGData()
Method Detail

addQuantizationTable

public void addQuantizationTable(JPEGQuantizationTable table)

addHuffmanTable

public void addHuffmanTable(JPEGHuffmanTable table)

addScan

public void addScan(JPEGScan scan)

getFrame

public JPEGFrame getFrame()

getQuantizationTable

public JPEGQuantizationTable getQuantizationTable(int id)
Return a quantization table with a given id or null on failure to find it.

Parameters:
id - integer id value of table
Returns:
actual table or null on failure

setFrame

public void setFrame(JPEGFrame newFrame)

JIU 0.14.3

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Marco Schmidt