mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 04:25:29 -04:00
#343 Work-around for delegate getDestination issue, now reading through readRaster method to allow reading larger files.
This commit is contained in:
parent
2eecdbb216
commit
86fa76c17d
@ -379,6 +379,7 @@ public final class JPEGImageReader extends ImageReaderBase {
|
||||
sourceCSType == JPEGColorSpace.CMYK ||
|
||||
sourceCSType == JPEGColorSpace.YCCK ||
|
||||
profile != null && !ColorSpaces.isCS_sRGB(profile) ||
|
||||
(long) sof.lines * sof.samplesPerLine > Integer.MAX_VALUE ||
|
||||
!delegate.getImageTypes(imageIndex).hasNext() ||
|
||||
sourceCSType == JPEGColorSpace.YCbCr && getRawImageType(imageIndex) != null)) { // TODO: Issue warning?
|
||||
if (DEBUG) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user