Diff images

P4V lets you diff the following image file types:

  • BMP
  • GIF
  • JPG, JPEG
  • PNG
  • PBM
  • PGM
  • PPM
  • TIFF
  • XBM
  • XPM

You can compare two different image files or two revisions of the same image. In both cases, P4V launches P4Merge, where you can navigate the differences between the specified images.

For more information, see View image differences in the P4Merge User Guide.

To diff two different image files:

  1. In P4V, right-click an image file and choose Diff Against​.
  2. In the Diff dialog box, specify the other image and click Diff.

Alternatively, in the Depot or Workspace tree, or in the Files tab, you can drag one image file’s icon onto another.

To diff two revisions of the same image file:

  1. In P4V, right-click the image file and choose File History.
  2. In the History tab, select the revisions you want to compare, right-click, and select Diff Selected.

Alternatively, you can drag one of the desired revisions onto the other revision.