Re-encodes JPEG or PNG bytes. The encoder never upscales: width is a ceiling, and an image narrower than it keeps its size. It throws on input it cannot decode, and the proxy then serves the original bytes.
width
Re-encodes JPEG or PNG bytes. The encoder never upscales:
widthis a ceiling, and an image narrower than it keeps its size. It throws on input it cannot decode, and the proxy then serves the original bytes.