Skip to content

Commit 0591bb9

Browse files
committed
updating hdr_save tests for version with patches
1 parent 44ac762 commit 0591bb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/write_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ def test_hdr_save(im_path, save_format):
151151
collect()
152152
helpers.compare_heif_files_fields(heif_file[0], heif_file[1])
153153
out_buf = BytesIO()
154-
heif_file.save(out_buf, quality=-1, format=save_format)
154+
heif_file.save(out_buf, quality=-1, format=save_format, chroma=444)
155155
heif_file_out = pillow_heif.open_heif(out_buf, convert_hdr_to_8bit=False)
156156
assert len(heif_file_out) == 2
157157
helpers.compare_heif_files_fields(heif_file[0], heif_file_out[0])
158158
helpers.compare_heif_files_fields(heif_file[1], heif_file_out[1])
159159
helpers.compare_heif_files_fields(heif_file_out[0], heif_file_out[1])
160-
helpers.compare_hashes([im_path, out_buf], hash_size=8)
160+
helpers.compare_hashes([im_path, out_buf], hash_size=32)
161161

162162

163163
def test_encoder_parameters():

0 commit comments

Comments
 (0)