Removing all transparency from the test image

This commit is contained in:
wiredfool 2016-04-29 21:17:18 +01:00
parent 0507192a77
commit 219182beda
2 changed files with 1 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -74,8 +74,7 @@ class TestFileBmp(PillowTestCase):
# test for #1293, Imagegrab returning Unsupported Bitfields Format
im = BmpImagePlugin.DibImageFile('Tests/images/clipboard.dib')
target = Image.open('Tests/images/clipboard_target.png')
# test only the RGB components, as there is no alpha in the DIB file.
self.assert_image_equal(im.convert('RGB'), target.convert('RGB'))
self.assert_image_equal(im, target)