tgstation / MapDiffBot

Tool for generating diff images of BYOND maps
GNU Affero General Public License v3.0
8 stars 11 forks source link

Generate difference image #73

Closed ShizCalev closed 6 years ago

ShizCalev commented 6 years ago

After generating before & after images, use imagemagik & it's compare function to generate a third image that highlights differences between them.

This will allow for quick identification of minute differences across a large area in the event someone edits a number of objects that are vastly spread out across a map (which in turn generated a before and after of the entire map.)

https://www.imagemagick.org/script/compare.php

The necessary command would essentially just be magick compare before.png after.png difference.png

An example of this being run on Pubbystation as part of https://github.com/tgstation/tgstation/pull/37919 is in the album below; https://imgur.com/a/MMfbpgc