File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
163163def test_encoder_parameters ():
You can’t perform that action at this time.
0 commit comments