Print Page | Close Window

Deleting an image from a PDF

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1006
Printed Date: 15 Jan 26 at 2:39AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Deleting an image from a PDF
Posted By: SteveG
Subject: Deleting an image from a PDF
Date Posted: 26 Jan 09 at 5:07PM
I'd like to be able to identify a specific image (based say on the image's height and width) and delete that one image from the PDF. I have the iSed source v 5.11 library but been unable to find a way to do this. Can someone please give me a pointer

Thanks,

Steve



Replies:
Posted By: Ingo
Date Posted: 27 Jan 09 at 1:20AM
Hi Steve!

It's not possible to delete an existing image from a ready made pdf with QuickPDF. You can determine on which page it is, then copying all pages to a new pdf, then deleting the page with the image. To find the specific images you can deal with the pdf-content (First load, then unencrypt, then reading into a stream or string, then checking the string-content).

Cheers, Ingo


Posted By: SteveG
Date Posted: 27 Jan 09 at 12:32PM
Thank you Ingo for the approach to solving this!

Best wishes to you,

Steve



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk