Class AbstractTransparencyFilter
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.png.transparencyfilters.AbstractTransparencyFilter
- Direct Known Subclasses:
TransparencyFilterGrayscale
,TransparencyFilterIndexedColor
,TransparencyFilterTrueColor
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Constructor Details
-
AbstractTransparencyFilter
Constructs a new instance.- Parameters:
bytes
- bytes.
-
-
Method Details
-
filter
- Throws:
ImagingException
IOException
-
getByte
Gets the byte at the given offset.- Parameters:
offset
- offset.- Returns:
- a byte.
-
getLength
Gets the length.- Returns:
- the length
-