We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b77e2b + 1e554a3 commit dfd9971Copy full SHA for dfd9971
src/codecs/gif.rs
@@ -477,9 +477,9 @@ pub struct GifEncoder<W: Write> {
477
}
478
479
impl<W: Write> GifEncoder<W> {
480
- /// Creates a new GIF encoder with a speed of 1. This prioritizes quality over performance at any cost.
+ /// Creates a new GIF encoder with a speed of 10. This provides a good balance between quality and encoding speed.
481
pub fn new(w: W) -> GifEncoder<W> {
482
- Self::new_with_speed(w, 1)
+ Self::new_with_speed(w, 10)
483
484
485
/// Create a new GIF encoder, and has the speed parameter `speed`. See
0 commit comments