Class ScanlineFilterPaeth
java.lang.Object
org.apache.commons.imaging.formats.png.scanlinefilters.ScanlineFilterPaeth
- All Implemented Interfaces:
ScanlineFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int
paethPredictor
(int a, int b, int c) void
unfilter
(byte[] src, byte[] dst, byte[] up)
-
Field Details
-
bytesPerPixel
private final int bytesPerPixel
-
-
Constructor Details
-
ScanlineFilterPaeth
public ScanlineFilterPaeth(int bytesPerPixel)
-
-
Method Details
-
paethPredictor
private int paethPredictor(int a, int b, int c) -
unfilter
- Specified by:
unfilter
in interfaceScanlineFilter
- Throws:
ImageReadException
IOException
-