Skip to content

How transform the extract images? #1896

Discussion options

You must be logged in to vote

You can inspect the transformation matrix properties and compute the respective inverted matrix.
Then load the image in a pixmap and transform it with that matrix.
matrix_property.zip

Depending on the return code of the function matprop build that inverted matrix. So if e.g. the return code is (3, "rot 90") take ~fitz.Matrix(90).

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@hbh112233abc
Comment options

Comment options

You must be logged in to vote
6 replies
@hbh112233abc
Comment options

@JorjMcKie
Comment options

@hbh112233abc
Comment options

@JorjMcKie
Comment options

@hbh112233abc
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