How to get a good quality thumbnail
问题 I am trying to create a high quality thumbnail of this image, with Java and Scalr 3.2 This is the relevant source code, where THUMB_WIDTH = 77 and THUMB_HEIGHT = 57 BufferedImage srcImg = ImageIO.read(new File(sourceFile)); BufferedImage dstImg = Scalr.resize(srcImg, Scalr.Method.QUALITY, THUMB_WIDTH, THUMB_HEIGHT); ImageIO.write(dstImg, format, new File(destFile)); If I use format = "png" , here is the result: If I use format = "jpg" , here is the result: With imagemagick identify I've found