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
If the new image has the same dimensions as the old one, you could maybe get away with replacing the object that contains the image data.
That would work by first finding the correct image ID with the help of Document::get_page_images.
Then replacing the image with Document::get_object_mut.
Other than that, you're probably out of luck, as long as nothing better is implemented.
Is there a way to replace an image in a pdf file with another image?
The text was updated successfully, but these errors were encountered: