Kualitas DOM-to-Image Buruk

const scale = 2;
const image = await toPng(elm, {
  height: elm.offsetHeight * scale,
  style: {
    transform: `scale(${scale}) translate(${elm.offsetWidth / 2 / scale}px, ${elm.offsetHeight / 2 / scale}px)`
  },
  width: elm.offsetWidth * scale
});
Ugliest Unicorn