Class Form
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.iff.Form
-
- Direct Known Subclasses:
Form.DEEPForm,Form.ILBMForm
abstract class Form extends java.lang.ObjectForm.- Version:
- $Id: Form.java,v 1.0 31/01/2022 haraldk Exp$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classForm.DEEPFormThe set of chunks used in DEEP and TVPP FORMs.(package private) static classForm.ILBMFormThe set of chunks used in the "original" ILBM, and also ACBM, PBM and RGB8 FORMs.
-
Field Summary
Fields Modifier and Type Field Description (package private) intformType(package private) java.util.List<GenericChunk>meta
-
Constructor Summary
Constructors Constructor Description Form(int formType)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract doubleaspect()(package private) abstract intbitplanes()(package private) abstract longbodyLength()(package private) abstract longbodyOffset()java.awt.image.IndexColorModelcolorMap()java.awt.image.ColorModelcolorMapForRow(java.awt.image.IndexColorModel colorModel, int row)(package private) abstract intcompressionType()abstract booleanhasThumbnail()(package private) abstract intheight()(package private) booleanisHAM()(package private) booleanisMultiPalette()(package private) static FormofType(int formType)booleanpremultiplied()intsampleSize()abstract java.awt.image.BufferedImagethumbnail()abstract intthumbnailHeight()abstract intthumbnailWidth()java.lang.StringtoString()inttransparentIndex()(package private) abstract intwidth()(package private) Formwith(IFFChunk chunk)
-
-
-
Field Detail
-
formType
final int formType
-
meta
final java.util.List<GenericChunk> meta
-
-
Method Detail
-
width
abstract int width()
-
height
abstract int height()
-
aspect
abstract double aspect()
-
bitplanes
abstract int bitplanes()
-
compressionType
abstract int compressionType()
-
isMultiPalette
boolean isMultiPalette()
-
isHAM
boolean isHAM()
-
premultiplied
public boolean premultiplied()
-
sampleSize
public int sampleSize()
-
transparentIndex
public int transparentIndex()
-
colorMap
public java.awt.image.IndexColorModel colorMap() throws javax.imageio.IIOException- Throws:
javax.imageio.IIOException
-
colorMapForRow
public java.awt.image.ColorModel colorMapForRow(java.awt.image.IndexColorModel colorModel, int row)
-
hasThumbnail
public abstract boolean hasThumbnail()
-
thumbnailWidth
public abstract int thumbnailWidth()
-
thumbnailHeight
public abstract int thumbnailHeight()
-
thumbnail
public abstract java.awt.image.BufferedImage thumbnail()
-
bodyOffset
abstract long bodyOffset()
-
bodyLength
abstract long bodyLength()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
with
Form with(IFFChunk chunk) throws javax.imageio.IIOException
- Throws:
javax.imageio.IIOException
-
ofType
static Form ofType(int formType)
-
-