<commit_before>﻿using System.Drawing;
using System.Drawing.Imaging;

namespace Rendering.Acceptance.ImageComparison
{
    public class BitmapComparer : IImageComparer
    {
        public bool Compare(Image firstImage, Image secondImage, byte threshold, out Image diffImage)
        {
            if (firstImage.Width != secondImage.Width || firstImage.Height != secondImage.Height)
            {
                diffImage = null;
                return false;
            }

            bool areSame = true;


            using (var firstBitmap = new Bitmap(firstImage))<commit_msg>Remove some white space.<commit_after>﻿using System.Drawing;
using System.Drawing.Imaging;

namespace Rendering.Acceptance.ImageComparison
{
    public class BitmapComparer : IImageComparer
    {
        public bool Compare(Image firstImage, Image secondImage, byte threshold, out Image diffImage)
        {
            if (firstImage.Width != secondImage.Width || firstImage.Height != secondImage.Height)
            {
                diffImage = null;
                return false;
            }

            bool areSame = true;

            using (var firstBitmap = new Bitmap(firstImage))
{'fraction_non_alphanumeric': 0.07568027210884354, 'fraction_numerical': 0.0, 'mean_word_length': 2.2694444444444444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3745400', 'n_tokens_mistral': 301, 'n_tokens_neox': 283, 'n_words': 78}