Repository navigation
Conversation
voropaevv
requested review from
MTaraszewski,
PawelPeczek-Roboflow,
dkosowski87,
grzegorz-roboflow,
hansent,
probicheaux,
rafel-roboflow and
yeldarby
as code owners
November 7, 2026 01:44
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When SDK client-side downsizing is enabled (
client_downsizing_disabled=False), resizing a PillowPAimage can lose its palette colors before JPEG encoding. An opaque input with RGB color(64, 128, 192)produces a black uploaded JPEG.Expand
PAtoRGBAbefore an actual resize, after the no-resize guards. This uses Pillow's existing alpha-aware resampling and preserves the source image, scaling factor, other image modes and JPEG encoding policy.The 25 regression cases cover opaque/mixed/zero alpha, nonmonotonic palettes, no-resize behavior, other modes, and actual synchronous/asynchronous SDK request bytes with prediction geometry.
Validation on
30141d2f6against main21059e9a5:make check_code_quality, changed-file Black/isort/Flake8 andgit diff --checkpass.The existing skip concerns case-distinct filenames on this filesystem. The all-catalog SDK run additionally has two WebRTC e2e setup errors because the SDK-only environment lacks
torch; the same fixture errors reproduce on the parent before server startup. No model/server/GPU inference or hosted CI result is claimed here.The declared Pillow dependency is unchanged; Pillow 13 is extra runtime compatibility evidence. Thin-image rounding in #3241 is outside this change.