updating before refactor
This commit is contained in:
parent
8510c6e8a6
commit
2613db9ee7
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ class WP_RESIZED2CACHE {
|
||||||
$imagick->setImageCompression(Imagick::COMPRESSION_JPEG);
|
$imagick->setImageCompression(Imagick::COMPRESSION_JPEG);
|
||||||
$imagick->setImageCompressionQuality(static::jpeg_quality());
|
$imagick->setImageCompressionQuality(static::jpeg_quality());
|
||||||
$imagick->setInterlaceScheme(Imagick::INTERLACE_PLANE);
|
$imagick->setInterlaceScheme(Imagick::INTERLACE_PLANE);
|
||||||
|
$imagick = apply_filters( "wp_resized2cache_imagick", $imagick, $resized );
|
||||||
$imagick->writeImage($cached);
|
$imagick->writeImage($cached);
|
||||||
$imagick->destroy();
|
$imagick->destroy();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue