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

Inline images #356

Merged
merged 8 commits into from
Nov 25, 2024
Merged

Inline images #356

merged 8 commits into from
Nov 25, 2024

Conversation

Heinenen
Copy link
Collaborator

This pull request lays the groundwork to properly support inline images.

What makes inline images hard to support, is that they include a data stream of arbitrary bytes and unknown length. If the (final) filter on the stream has an EOD marker, finding the end isn't that hard (although it isn't hard, this PR doesn't implement it).
If the (final) filter doesn't have an EOD marker, it's much harder to find the end, as it effectively forces the us to decompress the stream.

This PR addresses #78 and #221, but I wouldn't say that the issue is resolved. In practice, the images are compressed in some way, and this PR doesn't implement that.

@J-F-Liu J-F-Liu merged commit 50bc411 into J-F-Liu:master Nov 25, 2024
8 checks passed
@Heinenen Heinenen deleted the inline_images branch November 26, 2024 14:11
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