Compare Image Files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • avinatbezeq
    Visitor
    • Apr 2019
    • 8

    Compare Image Files

    Hi there,

    I have a folder with many JPEG files - image-001, image-002 etc.

    I would like to do a batch picture difference, so that the difference between image-001 and image-002 will be stored in an image file diff-001-002 (or whatever), and so on.

    Is this possible? How do I do this?

    Regards,

    Avi
  • Aaron
    Team Scooter
    • Oct 2007
    • 16017

    #2
    Hello,

    First, I would suggest opening a specific pair of Picture Files in the Picture Compare, then go to the Session menu -> Picture Compare Report, and test out the different Layout options. Does the side-by-side layout meet your needs?

    BC4's Folder Compare can load two base folders side by side, and align file pairs between them (image1 to image1, image2 to image2). From this view, you can select multiple files (Edit menu -> Expand All, Edit menu -> Select All Files; or select a couple manual pairs with a click/drag), right-click, and generate a File Compare Report (which, if only selecting Picture files will show the Picture Compare Report dialog options).

    This assumes a structured folder compare of side by side pairs. BC4 can manually select any 2 files, but for Many files it requires they be aligned.
    Aaron P Scooter Software

    Comment

    • avinatbezeq
      Visitor
      • Apr 2019
      • 8

      #3
      Thank you for your prompt reply!

      The "Picture Compare Report" is OK. I would like some changes (I would want the resulting image to preserve the colors of the original, and to have an option for the report to include only the picture without the files' description), but I can live with the current display.

      However, I do NOT want to compare Folder-1\image-X to Folder-2\image-X (with X, say, ranging from 1 to 10,000). I want to compare Folder-1\image-X to Folder-1\image-(X+1)...

      I could, of course, use a workaround - I could copy all the images from Folder-1 to Folder-2. Then, in Folder-2 I could delete the first image and rename all images: image-2 to image-1, image-3 to image-2. This, however, is a little inelegant.

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16017

        #4
        Hello,

        BC4's Picture Compare, Display Filters, Blend mode, and then generate a report. Is this the style you are looking for? If you set the Display Filter here, then close the Picture Compare, the Folder Compare and Script will then use this setting, too.

        BC4 does not have a single directory compare of X to X+1 (which would also compare X+1 to X+2? or X+2 to X+3?). You would need the custom solution of either creating the copy, or scripting can pass in variables:
        bcompare.exe "@c:\bcscript.txt" "c:\fileX.png" "c:\fileX1.png"
        bcompare.exe "@c:\bcscript.txt" "c:\fileX2.png" "c:\fileX3.png"
        bcompare.exe "@c:\bcscript.txt" "c:\fileX4.png" "c:\fileX5.png"

        Where the script can then generate a Picture Report of fileX and fileX1, then fileX2 and X3, etc, as named parameters.
        Aaron P Scooter Software

        Comment

        • avinatbezeq
          Visitor
          • Apr 2019
          • 8

          #5
          Thank you. I rather enjoyed hacking the rename. If someone will ever need to do this: I used Total Commander's Multi Rename tool: Two folders initially containing the same set images. On the right folder delete all images ending with 0.jpeg. Then, again on the right folder, rename all ....1.jpeg to ....0.jpeg, all ...2.jpeg to ...1.jpeg and so on. Then, delete all images ending with 9.jpeg on the left folder.

          Comment

          • avinatbezeq
            Visitor
            • Apr 2019
            • 8

            #6
            Initially
            Left Folder: 98 99 100 101 ... 108 109 110 111
            Right folder: 98 99 100 101 ... 108 109 110 111

            Step One - Delete all right images ending with 0

            Left Folder: 98 99 100 101 ... 108 109 110 111
            Right folder: 98 99 ----- 101 ... 108 109 ---- 111

            Renaming right folder files:

            Left Folder: 98 99 100 101 ... 108 109 110 111
            Right folder: 97 98 ----- 100 . 107 108 ---- 110 97 was the old 98, 110 was the old 111

            Deleting left files ending with 9

            Left Folder: 98 --- 100 101 ... 108 ---- 110 111
            Right folder: 97 98 ---- 100 ... 107 108 ---- 110 97 was the old 98, 110 was the old 111

            Comment

            Working...