Skip to content

Implement AREA image resizing.#36905

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_900901580
Apr 17, 2026
Merged

Implement AREA image resizing.#36905
copybara-service[bot] merged 1 commit into
mainfrom
test_900901580

Conversation

@copybara-service

Copy link
Copy Markdown

Implement AREA image resizing.

We choose semantics that match TensorFlow's semantics, i.e., fractional pixel overlaps receive fractional areas. This does not precisely match torch or PIL, which appear not to support partial pixels at area boundaries.

Fixes #20098

We choose semantics that match TensorFlow's semantics, i.e., fractional pixel overlaps receive fractional areas. This does not precisely match torch or PIL, which appear not to support partial pixels at area boundaries.

Fixes #20098

PiperOrigin-RevId: 901243597
@copybara-service copybara-service Bot merged commit dd42d82 into main Apr 17, 2026
@copybara-service copybara-service Bot deleted the test_900901580 branch April 17, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support image resizing by area

1 participant