Last change
on this file since 3087 was
3087,
checked in by nico, 12 years ago
|
- Change return value for function (success return (bool) true):
pipi_load, pipi_save, pipi_command, pipi_render_histogram,
pipi_get_image_histogram
- Add pipi's php constants definitions
|
File size:
268 bytes
|
Line | |
---|
1 | <? |
---|
2 | //print_r(pipi_get_command_list()); |
---|
3 | echo PIPI_COLOR_Y; |
---|
4 | |
---|
5 | $img = pipi_load_stock("random:128x128"); |
---|
6 | $img = pipi_gaussian_blur($img, 10); |
---|
7 | //$img = pipi_box_blur($img, 30); |
---|
8 | $img = pipi_contrast($img, 0.98); |
---|
9 | $img = pipi_tile($img, 256, 256); |
---|
10 | pipi_save($img, "out.png"); |
---|
Note: See
TracBrowser
for help on using the repository browser.