File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,13 @@ interface ImageInterface extends ManipulatorInterface
172
172
*/
173
173
const FILTER_SINC = 'sinc ' ;
174
174
175
+ /**
176
+ * Resampling filter: sincfast.
177
+ *
178
+ * @var string
179
+ */
180
+ const FILTER_SINCFAST = 'sincfast ' ;
181
+
175
182
/**
176
183
* Returns the image content as a binary string.
177
184
*
Original file line number Diff line number Diff line change @@ -1021,6 +1021,7 @@ private function getFilter($filter = ImageInterface::FILTER_UNDEFINED)
1021
1021
ImageInterface::FILTER_POINT => \Imagick::FILTER_POINT ,
1022
1022
ImageInterface::FILTER_QUADRATIC => \Imagick::FILTER_QUADRATIC ,
1023
1023
ImageInterface::FILTER_SINC => \Imagick::FILTER_SINC ,
1024
+ ImageInterface::FILTER_SINCFAST => \Imagick::FILTER_SINCFAST ,
1024
1025
ImageInterface::FILTER_TRIANGLE => \Imagick::FILTER_TRIANGLE ,
1025
1026
);
1026
1027
if (!in_array ($ filter , static ::getAllFilterValues (), true )) {
You can’t perform that action at this time.
0 commit comments