Class TransparencyFilter
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.png.transparencyfilters.TransparencyFilter
- Direct Known Subclasses:
TransparencyFilterGrayscale
,TransparencyFilterIndexedColor
,TransparencyFilterTrueColor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Field Details
-
bytes
private final byte[] bytes
-
-
Constructor Details
-
TransparencyFilter
public TransparencyFilter(byte[] bytes)
-
-
Method Details
-
filter
- Throws:
ImageReadException
IOException
-
getByte
public byte getByte(int offset) - Returns:
- a byte
-
getLength
public int getLength()- Returns:
- the length
-