removing unnecessary comments
This commit is contained in:
parent
21ccd0c47a
commit
ba488a8916
@ -15,7 +15,7 @@ fn main() {
|
||||
let path = Path::new(r"./image.png");
|
||||
let file = File::create(path).unwrap();
|
||||
let ref mut w = BufWriter::new(file);
|
||||
let mut encoder = png::Encoder::new(w, 200, 200); // Width is 2 pixels and height is 1.
|
||||
let mut encoder = png::Encoder::new(w, 200, 200);
|
||||
encoder.set_color(png::ColorType::Rgba);
|
||||
encoder.set_depth(png::BitDepth::Eight);
|
||||
// Adding text chunks to the header
|
||||
|
Loading…
x
Reference in New Issue
Block a user