mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-01 00:00:02 -04:00
#675 PSD 16/32 bit layer support
(cherry picked from commit 48691139a3)
This commit is contained in:
+2
-1
@@ -50,6 +50,7 @@ import static com.twelvemonkeys.imageio.plugins.tiff.HorizontalDifferencingStrea
|
||||
* @version $Id: HorizontalDeDifferencingStream.java,v 1.0 11.03.13 14:20 haraldk Exp$
|
||||
*/
|
||||
final class HorizontalDeDifferencingStream extends InputStream {
|
||||
/// TODO: Create shared version with PSD, or see if we can avoid some duplication?
|
||||
// See TIFF 6.0 Specification, Section 14: "Differencing Predictor", page 64.
|
||||
|
||||
private final int columns;
|
||||
@@ -96,7 +97,7 @@ final class HorizontalDeDifferencingStream extends InputStream {
|
||||
}
|
||||
}
|
||||
|
||||
private void decodeRow() throws EOFException {
|
||||
private void decodeRow() {
|
||||
// Un-apply horizontal predictor
|
||||
byte original;
|
||||
int sample = 0;
|
||||
|
||||
Reference in New Issue
Block a user