A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rkalla/imgscalr/issues/61 below:

Jagged outlines when shrinking a picture · Issue #61 · rkalla/imgscalr · GitHub

I tried to resize pictures using the imgscalr library, code:

BufferedImage resized = Scalr.resize(original, Scalr.Method.QUALITY, newWidth, newHeight);

ImageIO.write(resized, "png", fileOut);

Using Scalr.OP_ANTIALIAS resulted in a bit blurred image, but the edges of the display remained jagged.

The original image is 500px * 500px and the result was 136px * 136px.

The same behaviour can be seen on imgscalr CDN service:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4