Announcement

Collapse
No announcement yet.

PDF with embedded images

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • PDF with embedded images

    Hi,

    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:
    http://www.scootersoftware.com/downl...c=kb_morerules
    Chris K Scooter Software

    Comment


    • #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 ...


      Bye
      Christoph

      Comment


      • #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.

        Comment


        • #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...
          Nick


          Script:

          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

          Comment


          • #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

            Comment


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

              Comment

              Working...
              X