Ignore:
Timestamp:
Apr 16, 2014, 7:15:16 AM (11 years ago)
Author:
rvelices
Message:

external imagick fix watermark issue if the watermark is larger than target derivative (the width/height of image object did not reflect applied resize/crop)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/image.class.php

    r26461 r28199  
    548548  function crop($width, $height, $x, $y)
    549549  {
     550    $this->width = $width;
     551    $this->height = $height;
     552
    550553    $this->add_command('crop', $width.'x'.$height.'+'.$x.'+'.$y);
    551554    return true;
     
    584587  function resize($width, $height)
    585588  {
     589    $this->width = $width;
     590    $this->height = $height;
     591
    586592    $this->add_command('filter', 'Lanczos');
    587593    $this->add_command('resize', $width.'x'.$height.'!');
Note: See TracChangeset for help on using the changeset viewer.