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.
1 parent 5378d07 commit 521dd2fCopy full SHA for 521dd2f
src/writer.rs
@@ -9,7 +9,7 @@ use crate::EncodingError;
9
/// For example, a 300 DPI image is represented by:
10
///
11
/// ```rust
12
-/// use image::codecs::jpeg::*;
+/// # use jpeg_encoder::{PixelDensity, PixelDensityUnit};
13
/// let hdpi = PixelDensity::dpi(300);
14
/// assert_eq!(hdpi, PixelDensity {density: (300,300), unit: PixelDensityUnit::Inches})
15
/// ```
0 commit comments