Changeset 13035 for trunk/admin/include
- Timestamp:
- Feb 5, 2012, 3:58:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/image.class.php
r12956 r13035 424 424 { 425 425 $this->image->setInterlaceScheme(Imagick::INTERLACE_LINE); 426 if ($this->get_width()%2 == 0 && $this->get_height()%2 == 0 427 && $this->get_width() > 3*$width) 428 { 429 $this->image->scaleImage($this->get_width()/2, $this->get_height()/2); 430 } 426 431 return $this->image->resizeImage($width, $height, Imagick::FILTER_LANCZOS, 0.9); 427 432 }
Note: See TracChangeset
for help on using the changeset viewer.