// }
if(!empty($scaleWidth) || !empty($scaleHeight)){
- $data = $this->scale($data, $scaleWidth, $scaleHeight);
+ $data = $this->scale(false, $scaleWidth, $scaleHeight);
}
if($rotate){
$imagick->readImageBlob($imageBlob);
}
- $imagick->resizeimage($width, $height, Imagick::FILTER_LANCZOS, true, true);
+// $imagick->resizeimage($width, $height, Imagick::FILTER_LANCZOS, true, true);
return $imagick->getImageBlob();