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

Fix advice in output for error JXL_ENC_ERR_JBRD #3572

Merged
merged 1 commit into from May 13, 2024

Conversation

trytriangles
Copy link
Contributor

Updates the message output upon an JXL_ENC_ERR_JBRD error (JPEG bitstream reconstruction data could not be represented) to suggest passing --allow_jpeg_reconstruction 0. It previously suggested "Try using --jpeg_store_metadata 0", which will trigger an unknown-argument error.

params->jpeg_store_metadata exists but derives its value from params->allow_jpeg_reconstruction (tools/cjxl_main.cc:921) so I believe this is the correct parameter to suggest.

Updates the message output upon an JXL_ENC_ERR_JBRD error (JPEG
bitstream reconstruction data could not be represented) to suggest
passing --allow_jpeg_reconstruction 0. It previously suggested "Try
using --jpeg_store_metadata 0", which will trigger an unknown-argument
error.

params->jpeg_store_metadata exists but derives its value from
params->allow_jpeg_reconstruction (tools/cjxl_main.cc:921) so I believe
this is the correct parameter to suggest.
@mo271 mo271 added this pull request to the merge queue May 13, 2024
Merged via the queue into libjxl:main with commit 1e3c218 May 13, 2024
101 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants