Batch merging image files to pdf files using perl in windows -


I have a bunch of image files in this naming format:

  • 313024_Page_1_Image_0001.png < / li>
  • 3l3024_pej_l_imej_0002kpang
  • 3l3025_pej_l_imej_000lkpang
  • 3l3025_pej_l_imej_0002kpang
  • 3l3025_pej_2_imej_000lkpang

    And I want to convert files to the same number (first with "Page_") in a PDF with the same name. For example, using up to five files:

    • 313024_Page_1_Image_0001.png
    • 313024_Page_1_Image_0002.png

      merger 313024.pdf will

      and

      • 313025_Page_1_Image_0001.png
      • 313025_Page_1_Image_0002.png
      • 313025_Page_2_Image_0001.png

        313025.pdf will merge into

        I would like to be able to run this script in windows in Perl.

        Thanks in advance, Jake

        Which will take PNG files and files from PDF to them, such as:

          $ source source.cdf   

        convert source.pdf you add image files into one large image file, PDF before the change: < pre> $ convert {listOfImageFilenames} -append -compress ZIP verticallyStitchedFilename.pdf

        you err Perl script Rgt through the ImageMagick API can run through him.

        You will need to adjust these calls in particular that Microsoft Windows does some work, but it should not be very difficult.

Comments