reference/gmagick/examples.xml
0e4770f0b130b5c00a3ab247dc9b0b7ce56bd675
...
...
@@ -15,11 +15,11 @@
15
15
$image = new Gmagick('example.jpg');
16
16

17
17
//Make thumbnail from image loaded. 0 for either axes preserves aspect ratio
18
-
$image->thumbnailImage(100, 0);
18
+
$image->thumbnailimage(100, 0);
19
19

20
20
//Create a border around the image, then simulate how the image will look like as an oil painting
21
21
//Notice the chaining of mutator methods which is supported in gmagick
22
-
$image->borderImage("yellow", 8, 8)->oilPaintImage(0.3);
22
+
$image->borderimage("yellow", 8, 8)->oilpaintimage(0.3);
23
23

24
24
//Write the current image at the current state to a file
25
25
$image->write('example_thumbnail.jpg');
26
26