Describe the feature
The https://sharp.pixelplumbing.com/api-resize/#extend extend function supports 2 more parameters, extendWith and background.
Especially background would be nice to have, since it seems to fallback to #000, even tho the code uses context.background but that cannot be set from a URL(?)
_ipx/extend_10_20_10_20/assets/images/logo-light.png should be also be possible as _ipx/extend_10_20_10_20_0_fff/assets/images/logo-light.png.
According to the docs it uses color (https://www.npmjs.com/package/color) to parse the color, so it's fairly free
Additional information
Describe the feature
The https://sharp.pixelplumbing.com/api-resize/#extend extend function supports 2 more parameters,
extendWithandbackground.Especially background would be nice to have, since it seems to fallback to
#000, even tho the code usescontext.backgroundbut that cannot be set from a URL(?)_ipx/extend_10_20_10_20/assets/images/logo-light.pngshould be also be possible as_ipx/extend_10_20_10_20_0_fff/assets/images/logo-light.png.According to the docs it uses
color(https://www.npmjs.com/package/color) to parse the color, so it's fairly freeAdditional information