bill il y a 17 heures
Parent
commit
6169c0dd1a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>;