PDF with embedded images

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jpittman2
    New User
    • Oct 2007
    • 1

    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?
  • Chris
    Team Scooter
    • Oct 2007
    • 5533

    #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

    • chrroe
      Pooh-Bah
      • Oct 2007
      • 588

      #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

      • Stumpii
        Enthusiast
        • Apr 2008
        • 49

        #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

        • nswieder
          New User
          • Jan 2018
          • 2

          #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

          • Chris
            Team Scooter
            • Oct 2007
            • 5533

            #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

            • nswieder
              New User
              • Jan 2018
              • 2

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

              Comment

              • Richard_Good
                Visitor
                • Feb 2006
                • 4

                #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!
                Cheers
                Richard

                Comment

                • Aaron
                  Team Scooter
                  • Oct 2007
                  • 15941

                  #9
                  Hello,

                  Sounds like you implemented my suggestion from here already!

                  https://www.scootersoftware.com/vbul...d-in-rtf-files
                  Aaron P Scooter Software

                  Comment

                  Working...