You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It is not currently supported to add an image with arbitrary transformation, which is needed when trying to rebuild a PDF from the data extracted from another PDF. See #3230.
Describe the solution you'd like
Add a parameter morph to Page.insert_image, similar to the one found in the Shape API. This parameter could also be added to Page.show_pdf_page or to a new method like Shape.insert_image.
Describe alternatives you've considered
There is currently a workaround for this by abusing Page.show_pdf_page, see #3230 (comment).
Additional context
Page.get_image_info already returns a transform of the image, that could be used in the proposed morph parameter.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It is not currently supported to add an image with arbitrary transformation, which is needed when trying to rebuild a PDF from the data extracted from another PDF. See #3230.
Describe the solution you'd like
Add a parameter
morph
toPage.insert_image
, similar to the one found in theShape
API. This parameter could also be added toPage.show_pdf_page
or to a new method likeShape.insert_image
.Describe alternatives you've considered
There is currently a workaround for this by abusing
Page.show_pdf_page
, see #3230 (comment).Additional context
Page.get_image_info
already returns a transform of the image, that could be used in the proposedmorph
parameter.The text was updated successfully, but these errors were encountered: