Following work done #2696 , next format we plan to integrate in Chromium from image crate is ICO. We should update it to also support streamed/resumable decoding so after an UnexpectedEof it is able to recover from the latest decoded state when additional data is available in the input stream. We will try to follow a similar approach than for BMP, proposing smaller self-contained PRs.