I was experiencing poor quality with this technique also. The following seems to fix it, resulting in smoother resizing (also probably slower)
graphics.setRenderingHint(
RenderingHints.KEY_RENDERING,
RenderingHints.VALUE_RENDER_QUALITY);
Without this thumbnails were pixelated and generally kind of crappy.
Again, a very helpful article. |