Skip to content

decoder: Add next_image_with_options() - #981

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1010786455
Oct 30, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1010786455

Conversation

@copybara-service

Copy link
Copy Markdown

decoder: Add next_image_with_options()

Add DecodeOptions with an optional crop rectangle, and
Decoder::next_image_with_options() / nth_image_with_options().
next_image() and nth_image() call them with the default
options. Region decoding (a crop rectangle) is not implemented
yet and returns AvifError::NotImplemented.

Bug: 578636390

@copybara-service
copybara-service Bot force-pushed the test_1010786455 branch 2 times, most recently from 2f6b61b to 945b992 Compare October 30, 2026 22:41
Add DecodeOptions with an optional crop rectangle, and
Decoder::next_image_with_options() / nth_image_with_options().
next_image() and nth_image() call them with the default
options. Region decoding (a crop rectangle) is not implemented
yet and returns AvifError::NotImplemented.

Bug: 578636390
PiperOrigin-RevId: 1010850507
@copybara-service
copybara-service Bot merged commit 8bb75bd into main Oct 30, 2026
19 checks passed
@copybara-service
copybara-service Bot deleted the test_1010786455 branch October 30, 2026 22:51
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.

1 participant