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 #1

Open
kiiiiilo opened this issue Apr 11, 2024 · 0 comments
Open

发现一个小bug #1

kiiiiilo opened this issue Apr 11, 2024 · 0 comments

Comments

@kiiiiilo
Copy link

作者您好,在使用您的代码时我发现了一个小bug,图像压缩过程中的第二步RGB转换为YCbCr, 并进行颜色下采样时,由于对原始 YCbCr 图像进行 4:2:0 颜色下采样,可能会导致CbCr不再是长宽为8的倍数,所以会导致dct变换时出现报错。我粗浅地认为可以将第一步将图像的长宽补全为16的倍数来解决这个小bug

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

No branches or pull requests

1 participant