mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-10 07:24:37 +08:00
update: 图标压缩尺寸改为 80
This commit is contained in:
parent
8bdcd80c32
commit
6a6e333a18
@ -651,7 +651,7 @@ getBase64Ico = async filepath => {
|
|||||||
return compressedImage
|
return compressedImage
|
||||||
}
|
}
|
||||||
|
|
||||||
getCompressedIco = async (img, width = 40) => {
|
getCompressedIco = async (img, width = 80) => {
|
||||||
let compressedImage = await pictureCompress({ img: img, width: width, height: width, type: 'png', quality: 1 })
|
let compressedImage = await pictureCompress({ img: img, width: width, height: width, type: 'png', quality: 1 })
|
||||||
return compressedImage.img
|
return compressedImage.img
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user