Results 1 to 7 of 7

Thread: working with pdf question

  1. #1
    Join Date
    Jan 2005

    working with pdf question

    right so I have this script that converts pdf files to jpg. Some pdf don't work and I found out that if I simply merge and split them again online that they will work afterwards. So what I am looking for is a way that lets me create a pdf document, import an exisiting pdf and then save it as a new pdf.

    does anyone have any code for this?

  2. #2
    Join Date
    Aug 2004
    Not I: I avoid PDF's like the plague (great for printing, lousy for information exchange across the web).
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  3. #3
    Join Date
    May 2003
    Im working with a couple of pdf classes now...what a pain. They dont support importing of pdf. But I believe the Scribus project offers monster PDF support, and pretty open scripting capabilities...maybe there is something there that will help with some clever shell scripting?
    We do precision guesswork

  4. #4
    Join Date
    May 2003
    Hold the phone, i was just looking for more libs and came across this...looks like it should do what you want.FPDI
    We do precision guesswork

  5. #5
    Join Date
    Feb 2011
    Baltimore, MD

    Smile Pdf2ps2pdf

    If that doesn't work, you might also want to try converting from PDF to Postscript and back to PDF (or just make your JPG from the PS file directly.

    If you don't have the packages installed already, use (for RedHat/CentOS):
    $ yum install xpdf-utils
    $ yum install ghostscript

    Then run this
    $ pdftops source.pdf convert.ps
    $ ps2pdf convert.ps newfile.pdf


    - Brian

  6. #6
    Join Date
    Jun 2013
    Yes, here is the sample methods for creating pdf document within vb.net application. But I haven't met such problem, that only having merged and splitted the pdf document, can we convert pdf to jpeg image.

    Private Sub New(pageNum As Integer)
    End Sub

  7. #7
    Join Date
    May 2014
    Write the document. Use Microsoft Word to write whatever document you'd eventually convert to a PDF. If you've already completed the document you'd like to convert, just open the document.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center