Skip to content

Commit

Permalink
adjust reder image to webp
Browse files Browse the repository at this point in the history
  • Loading branch information
snowtafir committed Aug 28, 2024
1 parent 990dc20 commit 32896d4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/apps/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ message.use(
}))
};
const ScreenshotOptionsData: ScreenshotOptions = {
SOptions: {
type: 'webp',
quality: 90,
},
isSplit: false,
modelName: 'yukiHelp',
};
Expand Down
4 changes: 4 additions & 0 deletions src/apps/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ message.use(
}))
};
const ScreenshotOptionsData: ScreenshotOptions = {
SOptions: {
type: 'webp',
quality: 90,
},
isSplit: false,
modelName: 'yukiVersion',
};
Expand Down
2 changes: 1 addition & 1 deletion src/models/bilibili/bilibili.task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class BiliTask {
isSplit: isSplit,
modelName: 'bilibili',
SOptions: {
type: 'jpeg',
type: 'webp',
quality: 98,
},
saveHtmlfile: false,
Expand Down
2 changes: 1 addition & 1 deletion src/models/weibo/weibo.task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class WeiboTask {
isSplit: isSplit,
modelName: 'weibo',
SOptions: {
type: 'jpeg',
type: 'webp',
quality: 98,
},
saveHtmlfile: false,
Expand Down

0 comments on commit 32896d4

Please sign in to comment.