-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
38 lines (35 loc) · 1.21 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
include 'autoload.php';
$img = new Utshabimagemanipulator\Image_Manipulation('images/books2.jpg');
$img
// ->insta_aqua()
// ->insta_sharpen()
// ->insta_sepia()
// ->insta_cool()
// ->insta_light()
// ->insta_fuzzy()
// ->insta_boost()
// ->insta_antique()
// ->insta_vintage()
// ->insta_everglow()
// ->insta_freshblue()
// ->insta_tender()
// ->insta_dream()
// ->radium()
// ->rotate_image(90) // rotate the image
// ->resize_image(.9, .9) // resize the image
// ->text_on_image() // text on image
->flip_image('both') // flip the image, three options
// ->border_on_image(15, 25, 141, 214) // creates a border on the image
// ->GD_effect('colorize')
// ->watermark_image(70, 30, 30)
// ->thumbnail(5)
// ->watermark_with_image('images/books2.jpg')
// ->stamp_on_image('images/copyright.png', 40, 20)
// ->crop(200,200,500,500)
// ->resize_image_pixels(600, 200)
// ->save_image()
->display();