I have a question related to the fractal example (section '6.2 Generating Fractals', https://github.com/PistonDevelopers/image) in examples supplied for image crate
1) At line
image::ImageLuma8(imgbuf).save(fout, image::PNG).unwrap();
I get the following compile error message (rustc 1.25.0):
error[E0061]: this function takes 1 parameter but 2 parameters were supplied
--> src/main.rs:52:31
|
52 | image::ImageLuma8(imgbuf).save(fout, image::PNG).unwrap();
| ^^^^ expected 1 parameter
Thank you for helping!
2) Note in addition that I had to change
use num_complex::Complex;
to
use num::complex::{Complex};
at the beginning of the example. Maybe crate num_complex does not exist any longer ?