Skip to content

Commit d4d7a2f

Browse files
committed
Remove comment about 2x2 binning
1 parent 81c7ca2 commit d4d7a2f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/Image.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ public static function resize(Imagick $source, int $boxWidth, int $boxHeight, ar
7070
{
7171
$options += self::DEFAULT_OPTIONS;
7272

73-
//algorithm inspired from http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html
74-
//use of 2x2 binning is arguably the best quality one will get downsizing and is what lots of hardware does in
75-
//the photography field, while being reasonably fast. Upsizing is more subjective but you can't get much
76-
//better than bicubic which is what is used here.
77-
7873
$color = $options['color'];
7974
Util::ensure(true, is_string($color), InvalidArgumentException::class, ['$options["color"] was not a string']);
8075

0 commit comments

Comments
 (0)