Reputation: 21
I have thumbnails generated in Java, but not sharp enough, why?
Upvotes: 2
Views: 721
Reputation: 2096
I found the best results are produced with Lanczos scale for thumbnails and unsharp mask after that. Most scale algorithms apply as a first step a low pass filter (blur) and sub-sampling after that, this makes scaled down images to look not sharp enough.
Upvotes: 2
Reputation: 346317
I'm getting excellent results with the java-image-scaling library.
Upvotes: 4
Reputation: 97835
Possibly because of the kernel you've used.
A lanczos filter, for instance, gives relatively sharp results.
Upvotes: 3