6

There are lots of programs to extract the images, but what I want is an imageless PDF.

Not too difficult to operate, no manual intervention such as repeatedly finding images and deleting them then saving to a new document.

Just a program to which I can give the name of a file (or directory) and end up with imageless PDF files.

Command line or GUI doesn't matter.

2
  • 1
    Does a .net library and a sample application that shows how to implement your request qualify as a solution? Commented Apr 22, 2015 at 20:58
  • +1 for asking. Short answer, I don't know until I see it. I use Embarcadero's Delphi, and was hoping for a VCL component. However, Delphi supports .NEtT(I just didn't try it yet). If you post it as an answer to my followup "ok, I'll code it myself" question, it will get upvoted for sure. I will leave this question open in case someone can point out an existing application. For coding, please see softwarerecs.stackexchange.com/questions/18842/… Thanks
    – Mawg
    Commented Apr 23, 2015 at 9:39

4 Answers 4

1

If you don't want the format to be preserved, this can be done easily.

Use Foxit reader. Do a save as Text file.

Now use a free pdf printer like foxit printer or cutepdf to print into pdf files.

Edit: for preserving paragraph format

I did a google search and found that a freeware A-PDF extractor(http://www.a-pdf.com/text/download.htm) has this capability.

See the image below. I have shown the pdf and extracted text file side-by-side. Hope this is what you were looking for. :)

PDF XChange Viewer and Notepad++ Windows

3
  • 1
    Weeeeell, .... it does work. BUT, the formatting leaves a lot to be desired. Paragraphs are being split into multiple lines, with blank lines between them. Do you know of any way to format that correctly?
    – Mawg
    Commented Jan 1, 2016 at 9:12
  • 1
    I have edited the answer with what I think is the solution for the benefit of someone else who may have this problem. Commented Jan 1, 2016 at 17:45
  • Fantastic! ok, now here are a few fewer blank lines than I might like, but it is certainly good enough to read Welcome aboard. A great first answer.
    – Mawg
    Commented Jan 1, 2016 at 18:02
1

Programmatically you can use the library Apache PDFBox:

Apache PDFBox

1

You can use the draft option of cpdf:

cpdf -draft in.pdf -o out.pdf

Answer stolen from: https://stackoverflow.com/a/20702568/40961

1
  • And I thought that I had searched well before asking ;-) Thnaks
    – Mawg
    Commented Jan 22, 2016 at 18:03
-1

Consider this link, it will help you

http://www.pdfaid.com/ExtractImages.aspx

Features

  • In addition, this tool provides you to save your images in the format like jpg, gif, png, or bmp.

  • Once you are done with format selection, then you can also give the number to the image so that you can relate the images back to the document.( it's only your wish)

You can achieve all this with the single click only as what you are looking for.

You can also try this online tool to perform your task. Best part is that, there is no installation required for this tool. It’s completely free.

http://www.extractpdf.com/

1
  • 1
    This does not do what I asked for. Please read the question again. Yes, it takes images out of PDF, in the sense that it let's you extract them & store them somewhere. BUT, the original PDF is still unchanged. I want to take images out of a PDF in the sense of REMOVE them. leaving behind a PDF with no images.
    – Mawg
    Commented Apr 22, 2015 at 13:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.