forked from leftypol/leftypol
use sampleImage() on GIFs as it is much faster
This commit is contained in:
parent
6cc5cd73e0
commit
6dbd2d3b8d
1 changed files with 2 additions and 1 deletions
|
@ -187,7 +187,8 @@
|
|||
|
||||
//if($i < $config['thumb_keep_animation_frames']) {
|
||||
if(in_array($i, $keep_frames)) {
|
||||
$frame->scaleImage($this->width, $this->height, false);
|
||||
// $frame->scaleImage($this->width, $this->height, false);
|
||||
$frame->sampleImage($this->width, $this->height);
|
||||
$frame->setImagePage($this->width, $this->height, 0, 0);
|
||||
$frame->setImageDelay($delay);
|
||||
$delay = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue