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

Bug: 无法使用Canvas来进行缩小图片 #251

Open
Magic-riding opened this issue Nov 16, 2024 · 0 comments
Open

Bug: 无法使用Canvas来进行缩小图片 #251

Magic-riding opened this issue Nov 16, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@Magic-riding
Copy link

Describe the bug

preferSize选择非原始大小的选项,在打开autoResize的开关,之后查询图片会提示 Canvas service is not available, thus cannot resize image now. 并无法改变图片的分辨率。

Steps to reproduce

image
preferSize选择非原始大小的选项,打开autoResize的开关

Expected behavior

能够在开启功能之后能改变图片大小

Screenshots

image

Relevant log output

2024-11-16 15:33:32 [I] canvas canvas started
2024-11-16 15:33:34 [I] loader reload plugin nix:li4h2y
2024-11-16 15:33:34 [I] nix nix is not installed
2024-11-16 15:34:53 [I] loader reload plugin canvas:kzwpe2
2024-11-16 15:35:00 [W] booru Canvas service is not available, thus cannot resize image now.
2024-11-16 15:36:23 [I] loader reload plugin booru:chtlm7
2024-11-16 15:36:32 [W] booru Canvas service is not available, thus cannot resize image now.
2024-11-16 15:37:10 [I] loader reload plugin booru:chtlm7

Launcher

Containers (Docker, Kubernates, etc)

Sources

Danbooru

Versions

System:
OS: Linux 6.8 Alpine Linux
Binaries:
Node: 20.16.0
Yarn: 4.1.1
Koishi:
Core: 4.18.1
Console: 5.29.3

booru: 1.3.0
canvas: 0.2.2 (开启了nix)
downloads: 0.1.3
nix: 0.0.3 (开启了debug)

Additional context

No response

@Magic-riding Magic-riding added the 🐛 bug Something isn't working label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant