This content has been marked as final. Show 3 replies
Change this line
to use a BufferedImage type that supports transparency like TYPE_INT_ARGB or TYBE_4BYTE_ABGR (I would recommend the latter since your saving the image).
... BufferedImage thumbImage = new BufferedImage(fixedWidth, fixedHeight, BufferedImage.TYPE_INT_RGB); ...
Also, btw, you're not going to like the quality of the thumbnail if the image is reduced by more then half its size.