Browse Source

fix:修改图片质量

wangsisi 1 month ago
parent
commit
1cf40e1bad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/home/album_compoents/albumDrawBox.vue

+ 1 - 1
src/views/home/album_compoents/albumDrawBox.vue

@@ -22,7 +22,7 @@ import {imageCache,loadImage} from "./cacheImg.js"
 import {dateFormat} from "@/utils/date_util.js"
 import {pointToFormat} from "@/utils/util.js"
 import {drawTextInRect, drawBorderImageInRect, drawImageInRect, drawRectInRect, drawHorizontalTextList} from "./utils"
-const resize = "?x-oss-process=image/resize,p_30/format,webp/quality,q_40";
+const resize = "?x-oss-process=image/resize,p_120/format,webp/quality,q_100";
 
 const canvasRef = ref(null);
 const watermark = ref(null)