[MPlayer-dev-eng] A call for translation updates
Arpi
arpi at thot.banki.hu
Mon Mar 24 21:13:51 CET 2003
Hi,
> Crops the given part of the image and discards the rest.
> Useful to remove black bands from widescreen movies.
> +.RSss
> +w,h: Cropped width and height, defaults to original width and height.
> +.br
> +x,y: Position of the cropped picture, defaults to center.
> +.REss
> .IPs cropdetect[=0\-255]
> Calculates necessary cropping parameters and prints the recommended
> parameters
> to stdout.
>
> looks wrong. x,y is the point in the original image from where the
> cropped picture is taken from - and not the center. So it should default
> to 0,0.
no, it's correct, it defaults to center:
if(vf->priv->crop_x<0) vf->priv->crop_x=(width-vf->priv->crop_w)/2;
if(vf->priv->crop_y<0) vf->priv->crop_y=(height-vf->priv->crop_h)/2;
(by center i mean the cropped image is at the center of the original,
and not its upper-left corner is at the center)
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list