SproutCMS

This is the code documentation for the SproutCMS project

class QualityImageTransform

Sets the image quality for JPEGs.
If you don't use one of these, the default is 95

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends QualityImageTransform {
    
    /**
    * Estimate the RAM requirement to run this transform
    **/
    public function estimateRamRequirement () {
        // Method code goes here
    }
    
    /**
    * Does the actual transform
    **/
    public function transform (Image $img) {
        // Method code goes here
    }
    
    public function __construct (int $q) {
        // Method code goes here
    }
    
}
?>