PHP code example of sem-soft / image
1. Go to this page and download the library: Download sem-soft/image library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sem-soft / image example snippets
ager = new Sem\Image\Imager();
$imager->load('https://pp.vk.me/c626226/v626226456/2eb76/NT9Jhk2sJjo.jpg');
$imager->resizeToWidth(100);