Horje
image crop and center linux Code Example
image crop and center linux
For linux(debian or similar)

Step 1: Install ImageMagick
Step 2: "mogrify -path ./where/to/output/ -resize 1000x1000^ -gravity Center -background transparent -extent 600x600 ./where/the/images/at/*"

Step 2 Notes:
- "-background transparent" is to make the image transparent
- "-resize" is the size of the image you want
- "-extent" is the size of crop
- "-gravity" is to make the image center after crop




Shell

Related
git add -M meaning Code Example git add -M meaning Code Example
reinstall windows apps powershell Code Example reinstall windows apps powershell Code Example
how to uninstall gitlab in ubuntu Code Example how to uninstall gitlab in ubuntu Code Example
use xargs multiple times Code Example use xargs multiple times Code Example
zsh arithmetic Code Example zsh arithmetic Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11