Imagick Resizer

Imagick Resizer (0.3.0) ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31

Imagick Resizer is a module that hooks into core ImageSizer and do the Imagemanipulations using Image Magick via PHP-extension Imagick. It simply needs to be installed into the site/modules/ section.

scale :: size

$options 
{
  ["quality"]    int(90)
  ["sharpening"] string(4) "soft"
  ["cropping"]   bool(false)
  ["useCMS"]     bool(false)
  ["keepICC"]    bool(false)
  ["keepXMP"]    bool(false)
  ["keepEXIF"]   bool(false)
}

upscale true

scale_landscape.274x205s1q90-sup1.jpg

width from 260 to 274 = result: 274
height from 195 to 205 = result: 205

scale_portrait.205x274s1q90-sup1.jpg

width from 195 to 205 = result: 205
height from 260 to 274 = result: 274

 

upscale false

scale_landscape.274x205s1q90nu-sup0.jpg

width from 260 to 274 = result: 260
height from 195 to 205 = result: 195

scale_portrait.205x274s1q90nu-sup0.jpg

width from 195 to 205 = result: 195
height from 260 to 274 = result: 260

 

downscale proportional

scale_landscape.130x97s1q90nu-sdown.jpg

width from 260 to 130 = result: 130
height from 195 to 97 = result: 97

scale_portrait.97x130s1q90nu-sdown.jpg

width from 195 to 97 = result: 97
height from 260 to 130 = result: 130

 

downscale unproportional cropping true

scale_landscape.97x130s1q90cnu-scrop1.jpg

width from 260 to 97 = result: 97
height from 195 to 130 = result: 130

scale_portrait.130x97s1q90cnu-scrop1.jpg

width from 195 to 130 = result: 130
height from 260 to 97 = result: 97

 

downscale unproportional cropping false

scale_landscape.97x130s1q90nu-scrop0.jpg

width from 260 to 97 = result: 97
height from 195 to 130 = result: 73

scale_portrait.130x97s1q90nu-scrop0.jpg

width from 195 to 130 = result: 73
height from 260 to 97 = result: 97

 

same size

scale_landscape.260x195s1q90nu-ssame.jpg

width from 260 to 260 = result: 260
height from 195 to 195 = result: 195

scale_portrait.195x260s1q90nu-ssame.jpg

width from 195 to 195 = result: 195
height from 260 to 260 = result: 260

 
 
Last run was on 28.05.2014 - 22:39, test execution time: 0.0665500000
 

view this test result from Image Sizer