Detecting Enormous Images
Detecting Enormous Images
No methods for this task.
Saving Image Data
Saving Image Data
- public static function saveImageDataInAnyFormat($data, $preferred_mime) — Save an image resource to a string representation suitable for storage or transmission as an image file.
- private static function saveImageDataAsPNG($image) — Save an image in PNG format, returning the file data as a string.
- private static function saveImageDataAsGIF($image) — Save an image in GIF format, returning the file data as a string.
- private static function saveImageDataAsJPG($image) — Save an image in JPG format, returning the file data as a string.
Other Methods
Other Methods
- public function executeMemeTransform($file, $upper_text, $lower_text)
- public function executeConpherenceTransform($file, $top, $left, $width, $height)
- private function crasslyCropTo($file, $top, $left, $w, $h)
- private function getBlankDestinationFile($dx, $dy)
- public static function getScaleForCrop($file, $des_width, $des_height)
- private function applyMemeToFile($file, $upper_text, $lower_text)
- private function applyMemeTo($data, $upper_text, $lower_text, $mime_type)
- private function makeImageWithTextBorder($img, $font_size, $x, $y, $color, $stroke_color, $bw, $font, $text)
- private function doesTextBoundingBoxFitInImage($img, $text, $font_size, $font_path)
- private function applyMemeWithImagemagick($input, $above, $below, $count, $img_type)