Skip to content

Commit

Permalink
Adjust top-level doc for APNG support
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroicKatora committed Jun 27, 2020
1 parent 9eda83d commit 28f7911
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
//! let (info, mut reader) = decoder.read_info().unwrap();
//! // Allocate the output buffer.
//! let mut buf = vec![0; info.buffer_size()];
//! // Read the next frame. Currently this function should only called once.
//! // The default options
//! // Read the next frame. An APNG might contain multiple frames.
//! reader.next_frame(&mut buf).unwrap();
//! // Inspect more details of the last read frame.
//! let in_animation = reader.info().frame_control.is_some();
//! ## Encoder
//! ### Using the encoder
//! ```no_run
Expand Down

0 comments on commit 28f7911

Please sign in to comment.