New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSCache and CWP CageFS at no extra cost with all CWPpro licences. The LSCache plugin is integrated into our WordPress and other script installers, and CWP CageFS gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

how to use imagick?

Started by ehid, January 14, 2017, 12:58:39 PM

Previous topic - Next topic

ehid

Dear

I installed imagick, but how do i use it? I don't see any application or plugin added in cwp


robbyq

Quote from: ehid on January 24, 2017, 01:38:09 PM
???

dont need it automatic installed.

go
cd /scripts/
and ls (for see bash imagick).

ehid

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?

Quote from: robbyq on January 24, 2017, 04:00:50 PM
Quote from: ehid on January 24, 2017, 01:38:09 PM
???

dont need it automatic installed.

go
cd /scripts/
and ls (for see bash imagick).

ehid


locvfx

#5
Quote from: ehid on February 05, 2017, 03:36:57 PM
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