No announcement yet.

PDF with embedded images

  • Filter
  • Time
  • Show
Clear All
new posts

  • PDF with embedded images


    I know that BC2 can compare the text of PDF files. However our company could really use the functionality similar to the Image comparison plugins, but with PDFs.

    Has anyone out there written a plugin to do something like this?

  • #2
    Re: PDF with embedded images

    We don't have a plug-in that will compare images or formatting in PDF files. The current PDF add on only supports text comparison.

    The current add on is available for download from:
    Chris K Scooter Software


    • #3
      Re: PDF with embedded images

      Maybe it could helpful to use a batch-converter as external plugin to convert the PDF to a bitmap file, and then open it in the picture-viewer?

      Unfortunately there seem to be only non-free applications to do that job. I havn't found a good freeware alternatve ...



      • #4
        Re: PDF with embedded images

        As I remember (from v6.0), Acrobat Pro has a pretty good graphical and text comparison feature built in. I do not think is will be usable from within BC though.


        • #5
          I know this is an old thread, but it would be still be nice to do with in BC.

          I did write a script to to this using ghostscript and BC, then added a shortcut for this to my "SendTo" options

          The script is below...


          SET f1=%1
          SET f1=%f1:~0,-5%

          SET f2=%2
          SET f2=%f2:~0,-5%

          echo Creating Image Files
          "C:\Program Files\gs\gs9.10\bin\gswin64c.exe" -sDEVICE=png256 -r300 -dNOPAUSE -dBATCH -sOutputFile=%TEMP%\file1.png %f1%.pdf"
          "C:\Program Files\gs\gs9.10\bin\gswin64c.exe" -sDEVICE=png256 -r300 -dNOPAUSE -dBATCH -sOutputFile=%TEMP%\file2.png %f2%.pdf"

          echo Opening them in BC, this window will exit when you close Beyond Compare
          "C:\Program Files\Beyond Compare 4\BComp.exe" /solo %TEMP%\file1.png %TEMP%\file2.png

          del %TEMP%\file1.png
          del %TEMP%\file2.png


          • #6
            Thank you for sharing your solution.

            To run GhostScript on PDF files automatically when you open them in BC's Picture Compare, create a new file format and specify GhostScript in the Conversion tab.

            See the help file topic Picture Format Conversion Settings for details.
            Last edited by Chris; 26-Jan-2018, 02:19 PM.
            Chris K Scooter Software


            • #7
              Wow, much nicer, and simple...
              Thanks for the Hint!


              • #8
                I had cause to do something similar to this, but ended up getting lost in the original question syntax. The conversion from pdf to png should be something like:-
                gswin64c -sDEVICE=png256 -r1024 -o %t %s

                All the other parameters messed me up for an hour or so (weird errors and no output files), I had to resort to reading the manual to get the above ;-) !! The line can be put direct into the slot in the conversion tab to convert pdf to png and compare with the picture editor.

                Hope it helps someone!


                • #9

                  Sounds like you implemented my suggestion from here already!

                  Aaron P Scooter Software