function pixelate($block_size = 10) { imagefilter($this->image, IMG_FILTER_PIXELATE, $block_size, true); return $this; }