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

What happens if -o is not specified? #286

Open
clairem-sl opened this issue Apr 11, 2024 · 1 comment
Open

What happens if -o is not specified? #286

clairem-sl opened this issue Apr 11, 2024 · 1 comment
Labels
question Further information is requested

Comments

@clairem-sl
Copy link

A question because it's not described clearly in --help.

If I run, for instance:

jxl-oxide decode Bellisseria_ALL.composited.2024-04.jxl

I got the following output:

2024-04-11T15:06:51.313102Z  INFO jxl_oxide_cli::decode: Image dimension: 19968x24576
2024-04-11T15:08:54.111736Z  INFO jxl_oxide_cli::decode: Took 122790.85 ms
2024-04-11T15:08:54.114465Z  INFO jxl_oxide_cli::decode: No output path specified, skipping output encoding

Does this mean jxl-oxide has successfully decoded the JPEG-XL image but exited because no output is specified?

The main reason I'm asking this is because in my workflow, I verify JPEG-XL encoding using cjxl has been successful by then running djxl afterwards like so:

djxl $JXL_FILE - --output_format ppm > /dev/null

So if running jxl-oxide decode $JXL_FILE works the same, then jxl-oxide can be yet another tool in my toolbelt.

@tirr-c
Copy link
Owner

tirr-c commented Apr 11, 2024

Yes, it decodes the image to pixels and exits immediately. Note that djxl can do the same thing via --disable_output.

@tirr-c tirr-c added the question Further information is requested label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants