C
carfield
I get the following exception, do I need another library to read PNG?
=====File=====
/var/www/html/meaningful/wise/Life_is_pain.png
=====StackTrace=====
java.lang.IllegalArgumentException: Unknown image type 0
at java.awt.image.BufferedImage.<init>(BufferedImage.java:492)
at hk.com.carfield.util.ImageUtil.scaleImage(ImageUtil.java:48)
at hk.com.carfield.item.FileItem.getThumbnail(FileItem.java:47)
=====File=====
/var/www/html/meaningful/wise/Life_is_pain.png
=====StackTrace=====
java.lang.IllegalArgumentException: Unknown image type 0
at java.awt.image.BufferedImage.<init>(BufferedImage.java:492)
at hk.com.carfield.util.ImageUtil.scaleImage(ImageUtil.java:48)
at hk.com.carfield.item.FileItem.getThumbnail(FileItem.java:47)