Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[建议] 能否在批量转换图片时先合并再拆分 #638

Open
fangsunjian opened this issue Sep 28, 2024 · 0 comments
Open

[建议] 能否在批量转换图片时先合并再拆分 #638

fangsunjian opened this issue Sep 28, 2024 · 0 comments

Comments

@fangsunjian
Copy link

fangsunjian commented Sep 28, 2024

⚠⚠请在创建新Issue前阅读以下内容⚠⚠

  • 保持文明和礼貌.
  • Issue区仅允许反馈BUG和提出建议, 这里不是客服中心, 严禁灌水.
  • 仅允许反馈在使用最新版本(Beta或Stable)时遇到的BUG.
  • 仅允许使用中文和英文, 清晰表述, 不要用乱七八糟的拼音缩写.

建议描述
我试着转换几百页的漫画,但是耗时非常长。线程怎么调整也没用,GPU占用上不去。
能不能先把图片合并成一大张,转换完成后再拆分?

您设想的解决方案
测试了一下,先用软件合并图片,每页700x1200的漫画,把30页合并成一张图片,再进行放大,此时GPU占用率能到100%,花费17秒。
不拆分按照默认单张转换,同样30页,总共要花费1分35秒。
既然已经能设置块大小,显存应该不是问题。合并后的文件大小也不过几十兆。如果担心画质可以在合并时边缘留点余量。
测试不严谨,但是感觉能大幅提升转换速度。不知道视频转换时是不是已经用了类似的方法,感觉也能快不少。

类似的实现
如果您发现其他软件已经实现了您想要添加的功能, 可以在这里告诉我以供我参考

补充内容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant