PistonDevelopers / resize

Simple resampling library in pure Rust
http://docs.piston.rs/resize/resize/
MIT License
125 stars 18 forks source link

No-op, dimension checkings #11

Open Kagami opened 8 years ago

Kagami commented 8 years ago

It would probably be a good idea to just copy src into dst if source and destination dimensions are equal; also some fool-proof checkings like w, h != 0 and so on.

Kagami commented 8 years ago

Also:

AviSynth has completely separate vertical and horizontal resizers. If input is the same as output on one axis, that resizer will be skipped. Which one is called first, is determined by which one has the smallest downscale ratio. This is done to preserve maximum quality, so the second resizer has the best possible picture to work with.