Class ScanlineFilterPaeth
- java.lang.Object
-
- org.apache.commons.imaging.formats.png.scanlinefilters.ScanlineFilterPaeth
-
- All Implemented Interfaces:
ScanlineFilter
public class ScanlineFilterPaeth extends java.lang.Object implements ScanlineFilter
-
-
Field Summary
Fields Modifier and Type Field Description private int
bytesPerPixel
-
Constructor Summary
Constructors Constructor Description ScanlineFilterPaeth(int bytesPerPixel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
paethPredictor(int a, int b, int c)
void
unfilter(byte[] src, byte[] dst, byte[] up)
-
-
-
Method Detail
-
paethPredictor
private int paethPredictor(int a, int b, int c)
-
unfilter
public void unfilter(byte[] src, byte[] dst, byte[] up) throws ImageReadException, java.io.IOException
- Specified by:
unfilter
in interfaceScanlineFilter
- Throws:
ImageReadException
java.io.IOException
-
-