Search found 2 matches
- 2018-08-13T17:54:05-07:00
- Forum: Magick.NET
- Topic: How to make part of picture same during comparison
- Replies: 2
- Views: 9600
Re: How to make part of picture same during comparison
Thank you very much for the hint snibgo, I will try it out and update you on how the thing goes!!
- 2018-08-11T22:43:08-07:00
- Forum: Magick.NET
- Topic: How to make part of picture same during comparison
- Replies: 2
- Views: 9600
How to make part of picture same during comparison
I was trying to compare photo " newScreenshot " with " snapshotImage ", with code like this:
using (var newScreenshot = new MagickImage(newScreenshotPath))
{
var snapshotImage = TryGetBaselineImage(snapshotFilePath);
if (snapshotImage == null) return false;
using (snapshotImage)
{
var ...
using (var newScreenshot = new MagickImage(newScreenshotPath))
{
var snapshotImage = TryGetBaselineImage(snapshotFilePath);
if (snapshotImage == null) return false;
using (snapshotImage)
{
var ...