lib/ImageResize.php
public function output($image_type = null, $quality = null)
    {
        $image_type = $image_type ?: $this->source_type;

        header('Content-Type: ' . image_type_to_mime_type($image_type));

        $this->save(null, $image_type, $quality);
    }
public function output($image_type = null, $quality = null)
    {
        $image_type = $image_type ?: $this->source_type;

        header('Content-Type: ' . image_type_to_mime_type($image_type));

        $this->save(null, $image_type, $quality);
    }
public function output ( $ image_type = null , $ quality = null ) { $ image_type = $ image_type ? : $ this -> source_type ; header ( 'Content-Type: ' . image_type_to_mime_type ( $ image_type ) ) ; $ this -> save ( null , $ image_type , $ quality ) ; }
Outputs image to browser
@param string $image_type
@param integer $quality
Outputs image to browser