Skip to content

Optimization: Skip ahead of inline image content when parsing content streams #477

Description

@PrinsFrank

Inline images are structured like this:

BI
   /L 123456
ID
(binary)
EI

If we encounter an ID marker, we continue parsing in inlineImageMode, skipping any chars until we encounter the marker EI.

This is inefficient, especially when there is a lot of binary data. Instead, we can skip to the end of the binary data by using the L entry.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions