From 57d51c156898edced373c88e09bc55a2338c4dc4 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Wed, 3 Jul 2013 18:46:22 +0200 Subject: [PATCH] Add notes about resize modes --- src/FFMpeg/Filters/Video/ResizeFilter.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FFMpeg/Filters/Video/ResizeFilter.php b/src/FFMpeg/Filters/Video/ResizeFilter.php index e483b0c..a3e407d 100644 --- a/src/FFMpeg/Filters/Video/ResizeFilter.php +++ b/src/FFMpeg/Filters/Video/ResizeFilter.php @@ -17,9 +17,13 @@ use FFMpeg\Format\VideoInterface; class ResizeFilter implements VideoFilterInterface { + /** fits to the dimensions, might introduce anamorphosis */ const RESIZEMODE_FIT = 'fit'; + /** resizes the video inside the given dimension, no anamorphosis */ const RESIZEMODE_INSET = 'inset'; + /** resizes the video to fit the dimension width, no anamorphosis */ const RESIZEMODE_SCALE_WIDTH = 'width'; + /** resizes the video to fit the dimension height, no anamorphosis */ const RESIZEMODE_SCALE_HEIGHT = 'height'; /** @var Dimension */