DotScript
TM
PHP Image Sorcerer Demonstration
This pure HTML form sends a GET/POST request with all necessary parameters to
imgserver.php
, which spits the resulting image using the underlying functionality from
sorcerer.class.php
.
General
Target file (local path or URL):
Type of image to produce:
JPEG
GIF
PNG
WBMP
Quality:
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
95
100
Enable caching mechanism?
Yes
No
Storage:
MySQL
Files
Resample after resizing?
Yes
No
Output to browser?
Yes
No
Save processed image to a file?
Crop
X Origin (integer):
Y Origin (integer):
Region width (integer):
Region height (integer):
Scaling
Resize by ratios
X Ratio (float):
Y Ratio (float):
Absolute resizing
Absolute width in pixels (integer):
Absolute height in pixels (integer):
Best fit to region
Region width in pixels (integer):
Region height in pixels (integer):
Enlarge smaller images?
Rotation
Angle
90
180
270
degrees
clockwise
counter-clockwise
Flip
Horizontal
Vertical
Blur
Strength factor:
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
95
100
Motion blur?
Angle (degrees):
Paste Image
File:
Position (integer, integer):
Opacity:
0
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
95
100
Use
GET
POST
method
Output in new window
Result