[rust-dev] Is there a PNG lib?

2014-09-08 Thread Oldřich Vetešník
Hello, I’m curious - is there a PNG processing lib for Rust? I’d like to write a tiny client tool for processing a directory of images into HTML and I’ll need to resize those big images. I tried searching but wasn’t very successful. :-) Thank you, Ollie

Re: [rust-dev] Is there a PNG lib?

2014-09-08 Thread Corey Richardson
https://github.com/PistonDevelopers/rust-image On Mon, Sep 8, 2014 at 9:44 AM, Oldřich Vetešník wrote: > Hello, > > I’m curious - is there a PNG processing lib for Rust? I’d like to write a > tiny client tool for processing a directory of images into HTML and I’ll need > to resize those big ima

Re: [rust-dev] Is there a PNG lib?

2014-09-08 Thread Vladimir Matveev
Hi! These libraries may be interesting for you: * https://github.com/servo/rust-png * https://github.com/PistonDevelopers/rust-image It is also very simple to run external tools like ImageMagick from Rust. You will need Command [1] API for that. [1]: http://doc.rust-lang.org/std/io/process/

Re: [rust-dev] Is there a PNG lib?

2014-09-08 Thread Oldřich Vetešník
Awesome, thank you guys! I’m really looking forward to “cargo search”. :-) Ollie On Monday 8 September 2014 at 15:57, Vladimir Matveev wrote: > Hi! > > These libraries may be interesting for you: > * https://github.com/servo/rust-png > * https://github.com/PistonDevelopers/rust-image > > I

Re: [rust-dev] Is there a PNG lib?

2014-09-08 Thread Vladimir Matveev
You’re welcome :) Cargo will provide a central repository in the future, but in the meantime you can use these sites [1][2] to search for packages. Also, as Github is the main repository hosting used by the Rust community, you can search there and you can be fairly confident that if you can’t f

Re: [rust-dev] Is there a PNG lib?

2014-09-08 Thread Oldřich Vetešník
Awesome again. :-) I think those two could/should be mentioned in the Cargo FAQ until it is ready. Also Cargo could be mentioned on doc.rust-lang.org somewhere, probably in the crates section. I’ll try to come up with a PR if there is time. Ollie On Monday 8 September 2014 at 16:09, Vladimir M