# rkalla/imgscalr

Simple Java image-scaling library implementing Chris Campbell's incremental scaling algorithm as well as Java2D's "best-practices" image-scaling techniques.

Repository: https://github.com/rkalla/imgscalr
Canonical: https://ross.abutalabs.com/products/imgscalr
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2023-10-21T09:52:16+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5731, "days_push": 1047, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1246, forks 232 (observed 2026-08-28T04:04:07.147217+00:00)

## What it is
A small Java library for high-quality image scaling using incremental scaling algorithms and Java2D best practices. It also provides simple crop, pad, rotate, and BufferedImageOp apply operations.

## Use cases
- generate thumbnails from uploaded images in java
- resize images with high quality in a jvm app
- avoid jagged edges when downscaling images
- crop and pad images in java
- apply BufferedImageOp filters safely

## When to choose
- you need quality image resizing on the JVM with a tiny dependency
- you want simple, one-line thumbnail generation
- you need to work around JDK BufferedImageOp bugs

## When to avoid
- you need advanced image editing beyond resize/crop/rotate/pad
- you need non-Java platforms
- you need actively developed features or modern image format support

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing
- domain: image-processing, web-development
- platform: jvm
- tags: image-scaling, thumbnails, java2d, bufferedimage

## Member repositories
- rkalla/imgscalr (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.147217+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:08:05.311874+00:00, confidence not recorded.
  - readme: https://github.com/rkalla/imgscalr (fetched 2026-08-28T04:04:07.147217+00:00, sha 6164255d2748)
- Data as of 2026-08-30T08:39:29.467469+00:00.
