Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
add comment regarding #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Kahle committed Jul 13, 2018
1 parent f7c7bf3 commit fc5831c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public static BufferedImage convertToBufferedImage(URL u) throws IOException {
}

public static BufferedImage read(URL u) throws IOException {
//TODO always try ImageIO::read first and only loop through all readers if null is returned.
if(USE_IMAGE_IO_READ_IMPL) {
return ImageIO.read(u);
} else {
Expand All @@ -128,6 +129,7 @@ public static BufferedImage read(URL u) throws IOException {
}

public static BufferedImage read(File f) throws IOException {
//TODO always try ImageIO::read first and only loop through all readers if null is returned.
if(USE_IMAGE_IO_READ_IMPL) {
return ImageIO.read(f);
} else {
Expand Down

0 comments on commit fc5831c

Please sign in to comment.