PS
Size: a a a
PS
r
CM
PS
DC
ap
ap
倫岡
SS
PS
const roundedCorners = Buffer.from(
'<svg><rect x="0" y="0" width="200" height="200" rx="50" ry="50"/></svg>'
);
const roundedCornerResizer =
sharp()
.resize(200, 200)
.composite([{
input: roundedCorners,
blend: 'dest-in'
}])
.png();
readableStream
.pipe(roundedCornerResizer)
.pipe(writableStream);
ap
ИЦ
ИЦ
PS
PS
ИЦ
ИЦ
d
АП
ИЦ