Joining PDFs whilst maintaining layers

Discussion in 'Mac Programming' started by superscape, Feb 6, 2014.

  1. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #1
    Hi,

    I'm trying to join a number of PDFs together as part of a Mac OS X app I'm writing. I've tried a few ways which have been successful in joining the PDFs… however, every time I lose the layers (aka OCGs) which were in the source PDFs, and that's a big problem for my app.

    I've tried PDFKit, GhostScript and the Combine PDF Pages Automator action, but I get the same result every time - when I join the PDFs I lose my layers.

    Does anyone have any suggestions of ways to join the PDFs whilst maintaining layers?

    Thanks
    Rob
     
  2. superscape thread starter macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #2
    PDFLib...

    PDFLib looks like it can do it, but it's not cheap. Any other ideas?
     

Share This Page