July 28, 2009

Image Diffing with P4Merge

Version Control

P4Merge has been been a popular file visualization tool for quite a while now. It's even a favorite of folks whoarenotusingPerforce as their SCM system.


Earlier posts have covered new features in P4Merge like editing diffs of a file that is opened for edit or showing the in-line diffs between two files. But did you know that the 2008.1 release introduced the ability to diff image files?


Image diffs can be launched from the command line, from P4Merge, or from within P4V by dragging and dropping one image (or revision) onto another. Supported image formats include .bmp, .gif, .jpg, .png, .pbm, .pgm, .ppm, .tiff, .xbm, and .xpm. To add support for other image file types you can create a Qt Image Plugin.