Log in

View Full Version : Error on AVISynth MediaWiki page


MrVideo
8th June 2011, 12:28
I believe there is an error on the following page:

http://avisynth.org/mediawiki/Crop

To go from 720x480 to 352x240, it says to use (4,0,352,240), when in reality it should be (8,0,352,240). Why? The 352x240 is meant to be half of the original, but 360 isn't mod16. So, that means the half horizontal value's original size is 704. To get to 704, you must remove 16 pixels, or 8 from each side, not 4.

I don't know who fixes the pages, but I'm surprised that it hasn't been caught long before now.

Gavino
8th June 2011, 12:44
But the full script given is
ReduceBy2()
Crop(4, 0, 352, 240)

ReduceBy2() halves the width from 720 to 360, so you then only need to remove 4 from each side to get 352.