Skip to content

Conversation

@veluca93
Copy link
Member

@veluca93 veluca93 commented Jul 8, 2025

Summary of the implementation choices:

  • There are two different parsers, one for boxes and one for the codestream.
  • The codestream parser pulls data from the box parser
  • The codestream parser tries to minimize memory usage by putting data into buffers of the size of single sections.
  • Data might be not read if it turns out not to be needed.

Still TODO:

  • Integrating this code with jxl_cli and testing it
  • Support output in different pixel formats
  • Support output with different color profiles
  • Implement flush_pixels()
  • Generate BasicInfo and Frame information
  • Integrate writing output in the render pipeline.

@veluca93 veluca93 requested review from mo271, sboukortt and szabadka July 8, 2025 14:39
@veluca93 veluca93 force-pushed the api-process branch 2 times, most recently from 49c7602 to 449c1f1 Compare July 8, 2025 17:12
Summary of the implementation choices:
- There are two different parsers, one for boxes and one for the
  codestream.
- The codestream parser pulls data from the box parser
- The codestream parser tries to minimize memory usage by putting
  data into buffers of the size of single sections.
- Data might be not read if it turns out not to be needed.

Still TODO:
- Integrating this code with jxl_cli and testing it
- Support output in different pixel formats
- Support output with different color profiles
- Implement flush_pixels()
- Generate BasicInfo and Frame information
- Integrate writing output in the render pipeline.
@veluca93 veluca93 merged commit 1c5b627 into libjxl:main Jul 8, 2025
9 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.

2 participants