I am in need to be able to determine what changes have been done for some images in an application I'm involved in using visual studio's integrated source control.
I've looked around and there is no programme that does this out of the box. How can it be done?
This can be done using ImageMagick to do the processing for you. Once you install it, add this batch file somewhere in your system:
On the 2nd line, change the directory to where you have installed the application.
Tools->Options->Source Control->Visual Studio Team Foundation Server
and press theConfigure User Tools...
.Add
..png .jpg .bmp
etcOperation
atCompare
.Command
, type the full path to the batch file and the name of the batch file or press the...
button and navigate to your batch file.Arguments
can be left as%1 %2
You can now do a comparison between image files. The output is shown from top to bottom or left to right (depending on the aspect ratio) showing the original 1st image, original 2nd image and image comparison, with differences in red and each image separated by a yellow line. If one image is larger than the other, then they are resized, with red as the padding colour.