source:
libpipi/trunk/genethumb/genethumb.c
@
2246
| Revision 2246, 250 bytes checked in by sam, 5 years ago (diff) |
|---|
| Line | |
|---|---|
| 1 | #include "config.h" |
| 2 | #include "common.h" |
| 3 | |
| 4 | #include <pipi.h> |
| 5 | |
| 6 | int main(void) |
| 7 | { |
| 8 | pipi_image_t *i, *j; |
| 9 | |
| 10 | i = pipi_load("irc.png"); |
| 11 | j = pipi_resize(i, 240, 240); |
| 12 | pipi_save(j, "irc.bmp"); |
| 13 | pipi_free(i); |
| 14 | pipi_free(j); |
| 15 | |
| 16 | return 0; |
| 17 | } |
| 18 |
Note: See TracBrowser
for help on using the repository browser.
