]> granicus.if.org Git - libjpeg-turbo/commit
ImageIO.read() returns null if the input image type is not supported (which occurs...
authorDRC <dcommander@users.sourceforge.net>
Sat, 19 Jan 2013 06:43:27 +0000 (06:43 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sat, 19 Jan 2013 06:43:27 +0000 (06:43 +0000)
commit98ca1c35d70fc0788d026938deed122a5abbb8f1
tree257283a73c7b7a588d3804f0554b35ae78f5f4aa
parent2e22eb6ea2bbb8087d881cff9726eeee9c842d98
ImageIO.read() returns null if the input image type is not supported (which occurs when trying to read a PPM file), so output a friendly error instead of letting the next line throw a null pointer exception.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@918 632fc199-4ca6-4c93-a231-07263d6284db
java/TJExample.java