Add notes about resize modes
This commit is contained in:
parent
d85671b51d
commit
57d51c1568
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue