source

sampling matrix
width PAR
height
cropT
LR
B
or mplayer style
width:height:left:top

target

requested
width PAR
mod
w
h

pad or crop to
width
height

home | home-no_css | home-default.css
notes | changelog

examples
PAL (702) to square with mod(1) resizing
Panasonic dvx100 16:9LB to web square

external links
resizing theory | doom9 PAR | surreal *

results

result_width=800 result_height=600.009
result_width_mod=800 result_height_mod=600
result_pixels=480000
input_DAR=1.333 mod_DAR=1.333
human DAR: 4:3, 1.333
DAR_aspect_error=0.002
warning: width blowup
warning: height blowup

 adjust width