Change Resolution
Change Image Resolution
You can use ImageMagick's convert
function to change the resolution of an image:
To resize an image to specific dimensions, without maintaining the original image’s aspect ratio, include a bang !
at the end of the dimensions:
You can also use percentages with the resize flag. For example, if you want to make an image smaller by 50%, all you need to type is:
Change Video Resolution
If you want to change the resolution of a video to 480x320, you can do this simply by entering the command:
Alternatively, if you know the width you want and you want to keep the same aspect ratio, you can use -1
:
If you want to change the aspect ratio, you can use the setdar
flag: