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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Removing text and graphics based on color
  FAQ FAQ  Forum Search   Register Register  Login Login

Removing text and graphics based on color

 Post Reply Post Reply
Author
Message
dengarrett View Drop Down
Beginner
Beginner


Joined: 01 Oct 09
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dengarrett Quote  Post ReplyReply Direct Link To This Post Topic: Removing text and graphics based on color
    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.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 30 Sep 10 at 3:44PM
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
Back to Top
dengarrett View Drop Down
Beginner
Beginner


Joined: 01 Oct 09
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dengarrett Quote  Post ReplyReply Direct Link To This Post Posted: 30 Sep 10 at 3:52PM

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.
Back to Top
dengarrett View Drop Down
Beginner
Beginner


Joined: 01 Oct 09
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dengarrett Quote  Post ReplyReply Direct Link To This Post Posted: 30 Sep 10 at 5:06PM
I could offer a payment to anyone that can help find a workable solution.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 30 Sep 10 at 10:29PM
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store