Function repng::meta::aspect_ratio
[−]
[src]
pub fn aspect_ratio<W: Write, F>(
enc: &mut Encoder<W, F>,
x: u32,
y: u32
) -> Result<()>
Specify the aspect ratio of the image.
Essentially, x : y
is the ratio between image's width and its height.