bill 17 小時之前
父節點
當前提交
6169c0dd1a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/example/components/header/actions.ts

+ 1 - 1
src/example/components/header/actions.ts

@@ -31,7 +31,7 @@ const rotateView = (draw: Draw) => {
 
 export const getImage = (draw: Draw, format: string) =>
   draw.stage!.toBlob({
-    pixelRatio: 2,
+    pixelRatio: 4,
     mimeType: format,
     quality: 1,
   }) as Promise<Blob | null>;