mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
15 lines
366 B
Python
15 lines
366 B
Python
from PIL import Image
|
|
|
|
from helper import PillowTestCase, unittest
|
|
|
|
|
|
class TestFileBlp(PillowTestCase):
|
|
def test_load_blp2_dxt1(self):
|
|
im = Image.open("Tests/images/blp2_dxt1.blp")
|
|
target = Image.open("Tests/images/blp2_dxt1.png")
|
|
self.assert_image_similar(im, target.convert("RGBA"), 15)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|