Nat*_*tim 5 alpha imagemagick image-processing
我有这两张图片:
首先http://hubscher.remy.free.fr/tally/images/2011/01/24/first591.jpg 第二个http://hubscher.remy.free.fr/tally/images/2011/01/24/second593 .JPG
如何使用imagemagick从第一张图片中删除背景(第二张图片)?
干杯,
雷米
在这里,我给你一个最后但很简单的例子:
透明叠加http://noosphere.ionyse.com/transparent_example/transparent_difference.png 背景http://noosphere.ionyse.com/transparent_example/background.png
示例1 http://noosphere.ionyse.com/transparent_example/background-example.png 示例2 http://noosphere.ionyse.com/transparent_example/background-example2.png
在这里你可以看到,在我将透明叠加层放在背景上的任何地方,我都可以使用叠加PNG的不透明度获得完美匹配.
我希望能够计算出这个叠加图像.你认为使用ImageMagick有可能吗?
这里解释了如何保存两个图像之间的差异?。
另一个有用的链接:http://www.imagemagick.org/Usage/compare/#difference