File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -468,6 +468,10 @@ Error ImageItem_Grid::decode_and_paste_tile_image(heif_item_id tileID, uint32_t
468468
469469 auto tileItem = get_context ()->get_image (tileID, true );
470470 if (!tileItem && !options.strict_decoding ) {
471+ inout_image->add_warning (Error{
472+ heif_error_Invalid_input,
473+ heif_suberror_Missing_grid_images,
474+ });
471475 // We ignore missing images.
472476 return progress_and_return_ok (options, progress_counter);
473477 }
@@ -481,6 +485,10 @@ Error ImageItem_Grid::decode_and_paste_tile_image(heif_item_id tileID, uint32_t
481485 if (!decodeResult) {
482486 if (!options.strict_decoding ) {
483487 // We ignore broken tiles.
488+ inout_image->add_warning (Error{
489+ heif_error_Invalid_input,
490+ heif_suberror_Missing_grid_images,
491+ });
484492 return progress_and_return_ok (options, progress_counter);
485493 }
486494
You can’t perform that action at this time.
0 commit comments