Rank: Newbie
Groups: Registered
Joined: 12/4/2017(UTC) Posts: 3
Thanks: 1 times
|
Hi,
We have some PDFs which have high resolution image (eg 300 dpi). I need to extract the high resolution images and downsample the images to low resolution images (eg 72 dpi). Then replace the high resolution image in PDF by the low resolution image. Can PDFium.NET accomplish this?
Thanks.
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
|
 1 user thanked Paul Rayman for this useful post.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/4/2017(UTC) Posts: 3
Thanks: 1 times
|
Thanks. I have done some testing. Now, I can get the PdfImageObject and add new PdfImageObject.
I have two more questions.
1. I found that some images in our pdf files are not in the "PageObjects" collection. I guess it is because the images are not stored at the page level but stored deeper in the hierarchy in form XObjects. Can PDFium also extract and replace this type of images?
2. We need to replace the high resolution image in pdf by low resolution image. I found that "PdfPageObjectsCollection" only have "InsertObject" function. Can I replace the existing PdfImageObject rather than add a new one?
|
|
|
|
|
|
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close