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 */