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

Max Image Width/Height 16383 #1

Open
alexcpopescu opened this issue Apr 23, 2021 · 1 comment
Open

Max Image Width/Height 16383 #1

alexcpopescu opened this issue Apr 23, 2021 · 1 comment

Comments

@alexcpopescu
Copy link

Hi, I was attempting to run this compression on a file that exceeded the max dimensions of the program and the compression returned "BAD_PARAMS". I was wondering if there is a reason for this maximum limit or if it can be bypassed without issue.

@Upliner
Copy link
Owner

Upliner commented Apr 26, 2021

I don't know. Try just removing this line and see if it works

if (img_width > 16383 || img_height > 16383) return BAD_PARAMS;

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

2 participants