1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Can this be done?

Discussion in 'Mac Programming' started by Sdahe, Aug 14, 2012.

  1. macrumors 68000

    Sdahe

    #1
    Hello,

    Can I make a script that opens a PDF file ande saves as JPEG... I need to do this to 3,000 PDF files.
     
  2. macrumors regular

    #2
  3. macrumors 6502a

    #3
  4. macrumors member

    #4
  5. macrumors 68000

    Sdahe

    #5
    OMG... you just safe my life.... 1,000,000,000,000,000,000 thanks!!!
     
  6. macrumors 68000

    Sdahe

    #6
    omg.... thanks again.

    You dont imagine how this is helping me
     
  7. macrumors 6502a

    #7
    No need to thank me. Give credit where credit is due.
    Big up and props to Martin Michel.
     
  8. macrumors 68000

    #8
    Could you do this with ImageMagick?
     
  9. macrumors 6502a

    #9
  10. macrumors 68000

    Sdahe

    #10
    OK.... now I need a script that merges the JPGs back to a single PDF...
     
  11. macrumors 6502a

    #11
    Have you tried searching? You could try this :
     

    Attached Files:

  12. macrumors 68000

    Sdahe

    #12
    OK... this is the situation

    I have a folder with 80,610 jpg files. They are pages from different editions.

    For example:

    1392-01.jpg
    1392-02.jpg
    1392-03.jpg
    1392-04.jpg
    1392-05.jpg
    1392-06.jpg
    1392-07.jpg
    1393-01.jpg
    1393-02.jpg
    1393-03.jpg
    1393-04.jpg
    1393-05.jpg
    1393-06.jpg
    1393-07.jpg
    1393-08.jpg
    1393-09.jpg
    1393-010.jpg

    As you can see I have edition 1392 with 7 pages and edition 1393 with 10 pages. I need something that can make 1 PDF file for each edition. If it's automatic even better...
     
  13. macrumors 68000

    Sdahe

    #13

Share This Page