Technipelago AB

Technipelago Blog Stuff that we learned...


Scale and crop any image size to Full HD

Publicerad den 28 maj 2015

If you need to scale images in various sizes and formats to same size (in this example to full HD) you can use ImageMagick and the following command:

convert in.jpg -resize "1920x1080^" -gravity center -crop 1920x1080+0+0 +repage -quality 50 out.jpg

Tags: web image convert


« Tillbaka