zchrissirhcz / KantuCompare

Visual comparison for YUV and JPG/PNG images.
MIT License
13 stars 4 forks source link

[BUG] Difference image is wrong when feed gray and rgb images that in same size #22

Closed zchrissirhcz closed 2 years ago

zchrissirhcz commented 2 years ago

image-compare_gray_and_rgb_compare_bug

src images:

Bug details:

  1. There is an rectangle in the center of the difference image.
  2. The left input image(the gray one) is smaller than the rgb image when displayed in the window
zchrissirhcz commented 2 years ago

图片

The reported bug is not true. As we open the images with Gwenview (an image viewer), the region that outside of the image is "gray". Thus, the "left image" is actually with black pixels.