Class Form
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.iff.Form
-
- Direct Known Subclasses:
Form.DEEPForm
,Form.ILBMForm
abstract class Form extends java.lang.Object
Form.- Version:
- $Id: Form.java,v 1.0 31/01/2022 haraldk Exp$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
Form.DEEPForm
The set of chunks used in DEEP and TVPP FORMs.(package private) static class
Form.ILBMForm
The 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) int
formType
(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 double
aspect()
(package private) abstract int
bitplanes()
(package private) abstract long
bodyLength()
(package private) abstract long
bodyOffset()
java.awt.image.IndexColorModel
colorMap()
java.awt.image.ColorModel
colorMapForRow(java.awt.image.IndexColorModel colorModel, int row)
(package private) abstract int
compressionType()
abstract boolean
hasThumbnail()
(package private) abstract int
height()
(package private) boolean
isHAM()
(package private) boolean
isMultiPalette()
(package private) static Form
ofType(int formType)
boolean
premultiplied()
int
sampleSize()
abstract java.awt.image.BufferedImage
thumbnail()
abstract int
thumbnailHeight()
abstract int
thumbnailWidth()
java.lang.String
toString()
int
transparentIndex()
(package private) abstract int
width()
(package private) Form
with(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:
toString
in classjava.lang.Object
-
with
Form with(IFFChunk chunk) throws javax.imageio.IIOException
- Throws:
javax.imageio.IIOException
-
ofType
static Form ofType(int formType)
-
-