Class JPEGSegmentImageInputStream.AdobeAPP14Replacement
java.lang.Object
com.twelvemonkeys.imageio.plugins.jpeg.JPEGSegmentImageInputStream.Segment
com.twelvemonkeys.imageio.plugins.jpeg.JPEGSegmentImageInputStream.ReplacementSegment
com.twelvemonkeys.imageio.plugins.jpeg.JPEGSegmentImageInputStream.AdobeAPP14Replacement
- Enclosing class:
JPEGSegmentImageInputStream
static final class JPEGSegmentImageInputStream.AdobeAPP14Replacement
extends JPEGSegmentImageInputStream.ReplacementSegment
Workaround for a known bug in com.sun.imageio.plugins.jpeg.AdobeMarkerSegment, leaving the buffer in an
inconsistent state, if the length of the APP14/Adobe is not exactly 16 bytes.
- See Also:
-
Field Summary
Fields inherited from class com.twelvemonkeys.imageio.plugins.jpeg.JPEGSegmentImageInputStream.ReplacementSegment
data, pos, realLength
Fields inherited from class com.twelvemonkeys.imageio.plugins.jpeg.JPEGSegmentImageInputStream.Segment
length, marker, realStart, start
-
Constructor Summary
ConstructorsConstructorDescriptionAdobeAPP14Replacement
(long realStart, long start, long realLength, ImageInputStream stream) -
Method Summary
Modifier and TypeMethodDescriptionprivate static byte[]
Methods inherited from class com.twelvemonkeys.imageio.plugins.jpeg.JPEGSegmentImageInputStream.ReplacementSegment
read, read, realEnd, seek
Methods inherited from class com.twelvemonkeys.imageio.plugins.jpeg.JPEGSegmentImageInputStream.Segment
end, toString
-
Constructor Details
-
AdobeAPP14Replacement
AdobeAPP14Replacement(long realStart, long start, long realLength, ImageInputStream stream) throws IOException - Throws:
IOException
-
-
Method Details
-
createMarkerFixedLength
- Throws:
IOException
-