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

Support for prefix garbage? #98

Open
Melirius opened this issue Oct 3, 2024 · 0 comments
Open

Support for prefix garbage? #98

Melirius opened this issue Oct 3, 2024 · 0 comments

Comments

@Melirius
Copy link
Collaborator

Melirius commented Oct 3, 2024

As I can see, LEPTON_HEADER_PREFIX_GARBAGE_MARKER is defined, but is not used (self.write_lepton_jpeg_garbage_if_needed(&mut mrw, false)?; is always with false), and Lepton file encoded with -embedded=XXX will exit the library by return err_exit_code(ExitCode::BadLeptonFile, "unknown data found"); Even if not supporting prefix garbage in encode, we can support decoding such files without difficulties.

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

1 participant