Skip to content

Commit

Permalink
when encoding image, add it to HeifContext::m_all_images
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Aug 22, 2024
1 parent 427114f commit 3a8ad8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libheif/context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,7 @@ Error HeifContext::encode_image(const std::shared_ptr<HeifPixelImage>& pixel_ima

out_image = image_item;

insert_new_image(image_item->get_id(), image_item);


// --- if there is an alpha channel, add it as an additional image
Expand Down

0 comments on commit 3a8ad8c

Please sign in to comment.