Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Removing text and graphics based on color |
Post Reply ![]() |
Author | |
dengarrett ![]() Beginner ![]() Joined: 01 Oct 09 Location: United States Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 30 Sep 10 at 2:39PM |
I have several thousand PDF files which are student workbook pages that include questions. These pages contain the answers to the questions in the form of text, graphics that represent circled answers, lines that connect answers to questions, etc. I need to create versions of the files with the answers removed. Cany anyone offer an approach for tihs using Quick PDF Library 7.21? Thanks in advance.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
With QP you can overwrite it - not remove. Another thing (annoying): Render the pages to images... Paint on the images... Render images to pdf Cheers, Ingo |
|
![]() |
|
dengarrett ![]() Beginner ![]() Joined: 01 Oct 09 Location: United States Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Thank you very much for the quick reply. A couple of questions: 1. Overwriting is probably the best option - how can I programatically obtain the paths needed to overwrite? They are at random locatons on the page. The only thing in common that I can find is the color.
2. I thought about rendering to a DC and then manipulating the bits, but I am concerned about the size of the resulting PDF file. I need to fit thousands of the PDF files on a single CD (not DVD) along with custom software installer for both Mac and Windows.
|
|
![]() |
|
dengarrett ![]() Beginner ![]() Joined: 01 Oct 09 Location: United States Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
I could offer a payment to anyone that can help find a workable solution.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
If you don't do it by yourself you won't learn about easy working with QP ;-)
If you want to know the positions of special text (to be overwrited) you should use the extract functions for the textcontent. With option "3" you'll get the text with all position data, textcolour, fonttype and dimensions.
With this data you can overwrite pretty precise.
Cheers, Ingo
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store