Replies: 3 comments
-
Digging little bit looks like that this is a functionality introduced in iText 5 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Pull requests welcome |
Beta Was this translation helpful? Give feedback.
0 replies
-
The PdfImageObject is present in the OpenPDF5 a first compiling exercise could be to integrate PdfImageObject in OpenPDF and see what happen |
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
-
I have a pdf PDF contains high-resolution images and i would like to find a way to reduce the resolution of the
images inside.
Looking for a solution i found that in the original iText library there was a way to do it and it is also described in the old book iText in action.
this is the code snippet placed in the book
start lo look all the PdfObject inside the pdf
and then if the image is found, manipulate the BufferedImage inside the PdfImageObject
the idea is clear and simple to understand, when you find a stream if this is related to an image
you can create an instance of PdfImageObject over the stream that aloud you to manipulate the Buffere of the image
Unfortunately, the PdfImageObject class is no longer present in LibrePDF.
Does anyone happen to have an idea on how it might be possible to manipulate images inside the pdf?
Beta Was this translation helpful? Give feedback.
All reactions