public static function getImagePath() { $path = abs_source_images(); if (!file_exists($path)) { mkdir($path, 0777); } return $path; }
/** * * @param int $Width * @param int $Height * @param string $ResizeType preenchimento | crop | proporcional | normal * @param int $Quality * @param string|int $BGColor * @return string */ function Redimensiona($Width, $Height, $ResizeType = 'crop', $Quality = 100, $BGColor = '#FFFFFF') { return Utils::redimensionaImg($Width, $Height, abs_source_images(), $this->getSource(), $ResizeType, $Quality, $BGColor); }