Control Web Panel

WebPanel => Aplications => Topic started by: ehid on January 14, 2017, 12:58:39 PM

Title: how to use imagick?
Post 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
Title: Re: how to use imagick?
Post by: ehid on January 24, 2017, 01:38:09 PM
???
Title: Re: how to use imagick?
Post by: robbyq on January 24, 2017, 04:00:50 PM
???

dont need it automatic installed.

go
cd /scripts/
and ls (for see bash imagick).
Title: Re: how to use imagick?
Post by: ehid on January 24, 2017, 10:07:22 PM
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).
Title: Re: how to use imagick?
Post by: ehid on February 05, 2017, 03:36:57 PM
Anyone ?
Title: Re: how to use imagick?
Post by: locvfx on February 21, 2017, 09:19:42 AM
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