source:
libpipi/trunk/genethumb/genethumb.c
@
2247
Last change on this file since 2247 was 2247, checked in by , 15 years ago | |
---|---|
File size: 250 bytes |
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, 180, 180); |
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.