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

jpg render fails with an ugly error if the file is too big #29

Open
erikmannerfelt opened this issue Aug 30, 2023 · 0 comments
Open

jpg render fails with an ugly error if the file is too big #29

erikmannerfelt opened this issue Aug 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@erikmannerfelt
Copy link
Owner

If the file is too big to write to a single jpg, rsgpr unhelpfully fails with this error:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Parameter(ParameterError { kind: DimensionMismatch, underlying: None })', src/gpr.rs:1517:42
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Either it should fail gracefully (no panic, keep on going with a warning saying "can't write jpg because it's too big"), or multiple jpg files should be written.

@erikmannerfelt erikmannerfelt added the bug Something isn't working label Aug 30, 2023
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