Tests: Add tests for image format saving and loading #104442

Closed
Jesse Yurkovich wants to merge 6 commits from deadpin:image-tests into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 2 additions and 3 deletions
Showing only changes of commit 151e2b726a - Show all commits

View File

@ -234,9 +234,8 @@ class ImBufSaveTest(ImBufTest):
def test_save_cineon(self):
self.skip_if_format_missing("CINEON")
# Note: idiff crashes on these files. Fixed with OIIO 2.4.5+
# self.check(src="rgba08", ext="cin", settings={"file_format":"CINEON", "color_mode":"RGB"})
# self.check(src="rgba32", ext="cin", settings={"file_format":"CINEON", "color_mode":"RGB"})
self.check(src="rgba08", ext="cin", settings={"file_format":"CINEON", "color_mode":"RGB"})
self.check(src="rgba32", ext="cin", settings={"file_format":"CINEON", "color_mode":"RGB"})
def test_save_webp(self):
self.skip_if_format_missing("WEBP")