Update BMPImageReader.java

Not using this change for now
This commit is contained in:
Koen De Groote 2019-11-02 21:09:25 +01:00 committed by GitHub
parent 8ed5f06151
commit d41f6a4465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,6 @@ import java.io.File;
import java.io.IOException;
import java.nio.ByteOrder;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
/**
@ -197,7 +196,7 @@ public final class BMPImageReader extends ImageReaderBase {
checkBounds(pImageIndex);
// TODO: Better implementation, include INT_RGB types for 3BYTE_BGR and 4BYTE_ABGR for INT_ARGB
return Collections.singletonList(getRawImageType(pImageIndex)).iterator();
return Arrays.asList(getRawImageType(pImageIndex)).iterator();
}
@Override