Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2007
    Posts
    1

    Default 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. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,790

    Default 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

  3. #3
    Join Date
    Oct 2007
    Location
    Bremen, Germany
    Posts
    583

    Default 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

  4. #4
    Join Date
    Apr 2008
    Posts
    49

    Default 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. #5
    Join Date
    Jan 2018
    Posts
    2

    Default

    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

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,790

    Default

    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 at 02:19 PM.
    Chris K Scooter Software

  7. #7
    Join Date
    Jan 2018
    Posts
    2

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •