Control Web Panel
WebPanel => Aplications => Topic started by: ehid on January 14, 2017, 12:58:39 PM
-
Dear
I installed imagick, but how do i use it? I don't see any application or plugin added in cwp
-
???
-
???
dont need it automatic installed.
go
cd /scripts/
and ls (for see bash imagick).
-
It is installed, but the idea is that it compress the images etc.. how does that work? Does it that automaticly or do i have do some commands to compress images?
???
dont need it automatic installed.
go
cd /scripts/
and ls (for see bash imagick).
-
Anyone ?
-
Anyone ?
Assume you have many *.jpg files in a current folder. the thumnails will be generated under ./square, we are going to make square thumbnails for tons of jpg files in current directory
Crop & Resize without keeping aspect ratio, resize 400px , quality 75%
mogrify -monitor -thumbnail x400 -resize 400 -gravity center -crop 400x400+0+0 +repage -format jpg -quality 75 -path square *.jpg
Crop & Resize to make thumbnails, keep respect ratio + Fill white BG to make same width and height , resize 400px , quality 75%
mogrify -monitor -resize 80x80 -background white -gravity center -extent 80x80 -format jpg -quality 75 -path thumbs *.jpg
No fill BG, but keep aspect ratio
mogrify -monitor -resize 80x80 -gravity center -format jpg -quality 75 -path thumbs *.jpg