src/Server.php
private function processImage(File $file, ImageManager $imageManager, TemplateInterface $template)
    {
        // Process the image using the template
        $image = new \Diarmuidie\ImageRack\Image\Process(
            $file->readStream(),
            $imageManager
        );

        // Process the image
        return $image->process($template);
    }
private function processImage(File $file, ImageManager $imageManager, TemplateInterface $template)
    {
        // Process the image using the template
        $image = new \Diarmuidie\ImageRack\Image\Process(
            $file->readStream(),
            $imageManager
        );

        // Process the image
        return $image->process($template);
    }
private function processImage ( File $ file , ImageManager $ imageManager , TemplateInterface $ template ) { // Process the image using the template $ image = new \ Diarmuidie \ ImageRack \ Image \ Process ( $ file -> readStream ( ) , $ imageManager ) ; // Process the image return $ image -> process ( $ template ) ; }
Process an image using the provided template.

@param File              $file         The file handler for the image
@param ImageManager      $imageManager The image manipulation manager
@param TemplateInterface $template     The template

@return Image The processed image
Process an image using the provided template .