Skip to content
Discussion options

You must be logged in to vote

No, sorry this is not possible like this. The reason being that get_drawings() (like also get_text()) is not PDF-specific, but works for all MuPDF-supported document types like EPUB or XPS.
And they do not have the kind of things you are mentioning.

With the new version 1.22.0 there are more data available:

  • New key "layer":the name of the optional content group or None.
  • If using page.get_drawings(extended=True), clipping paths are returned, as well as so-called group paths. The remaining "standard" paths (stroke, fill, fill-stroke) then have a new "level" key (integer) which indicates the ownership to some preceding clip or group. Group paths contain information like blend mode. Fairly c…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SirishaGorasa
Comment options

@JorjMcKie
Comment options

@SirishaGorasa
Comment options

Answer selected by JorjMcKie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants