Image resizing now uses a separate, adjustable threshold for rejecting images instead of reusing the resize target size
When Claude Code resizes an image before passing it to a tool, it used to reuse the same target width and height as the cutoff for rejecting an image outright when its dimensions couldn't be verified. It now uses separate rejectMaxWidth and rejectMaxHeight values, supplied by a new helper, for that rejection check and its error messages, independent of the dimensions the image is actually resized to.
Separating the reject threshold from the resize target means an image can be resized down to a smaller target size without being rejected outright for exceeding it, since rejection is now judged against its own, more permissive limit.