Does image resizing, etc
This is the code documentation for the SproutCMS project
Search documentation |
class CropImageTransformDoes image resizing, etc
Extending this class<?php /** * New class description goes here * * @author Your Name, 2024-11-25 **/ class NewClassName extends CropImageTransform { /** * Does the actual transform **/ public function transform (Image $img) { // Method code goes here } /** * Estimate the RAM requirement to run this transform **/ public function estimateRamRequirement () { // Method code goes here } /** * Constructor **/ public function __construct (int $width, int $height, mixed $vert_pos, mixed $horiz_pos) { // Method code goes here } } ?> |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |