Is there a way to drop images transformation for specific xrefs ? #4656
Replies: 3 comments 1 reply
-
No, we have no way to do that. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@JorjMcKie seems like inserting this image without rotation works! >>> r = doc[0].get_image_info(xrefs=True)
>>> rect = fitz.Rect(*r[1]['bbox'])
>>> doc[0].insert_image(rect, xref=58) this will create new object with same xref but result document looks exactly how i wanted is there some disadvantages ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@PasaOpasen If required please continue this discussion on our forum at https://forum.pymupdf.com , we are trying to move all discussions there! :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My goal is to deskew all images on the page. But I found that some of them are already rotated well and are just inserted into document with some degree.
I found that this information is available as
transform
:is there a way to change
transform
of 58 image?Beta Was this translation helpful? Give feedback.
All reactions