private function drawRect(&$image, $clip, $background, $nowpadding = true, $nohpadding = true)
    {
        imagefilledrectangle($image, $clip[0], $clip[1], $clip[0] + $clip[2] - (!$nowpadding * 1), $clip[1] + $clip[3] - (!$nohpadding * 1), $background);
    }