Changes between Version 31 and Version 32 of Scaling
- Timestamp:
- May 3, 2024, 10:45:48 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scaling
v31 v32 35 35 }}} 36 36 37 In all the examples, the starting image (input.jpg) will be this one (535×346 pixels): 37 In all the examples, the starting image (input.jpg) will be this one (535×346 pixels):\\ 38 38 [[Image( "input.jpg" )]] 39 39 … … 49 49 ffmpeg -i input.jpg -vf scale=320:240 output_320x240.png 50 50 }}} 51 The resulting image will look like this: 51 The resulting image will look like this:\\ 52 52 [[Image( "input.jpg", width="320", height="240" )]] 53 53 … … 63 63 will set the width of the output image to 320 pixels and will calculate the height of the output image according to the aspect ratio of the input image. 64 64 65 The resulting image will have a dimension of 320×207 pixels. 65 The resulting image will have a dimension of 320×207 pixels.\\ 66 66 [[Image( "input.jpg", 320px )]] 67 67 … … 82 82 }}} 83 83 84 The output image will look like this: 84 The output image will look like this:\\ 85 85 [[Image( "input.jpg", 1070 )]] 86 86 … … 120 120 }}} 121 121 122 This produces our 320×207 image that we had seen before. 122 This produces our 320×207 image that we had seen before.\\ 123 123 [[Image( "input.jpg", 320px )]] 124 124
