Answers for "php resize"

PHP
-1

php resize

Class resize
{
    // *** Class variables
    private $image;
    private $width;
    private $height;
 
    function __construct($fileName)
    {
        // *** Open up the file
        $this->image = $this->openImage($fileName);
 
        // *** Get width and height
        $this->width  = imagesx($this->image);
        $this->height = imagesy($this->image);
    }
}
Posted by: Guest on January-09-2021

Browse Popular Code Answers by Language