source:
libpipi/trunk/genethumb/genethumb.c
@
2244
Last change on this file since 2244 was 2244, checked in by , 15 years ago | |
---|---|
File size: 250 bytes |
Rev | Line | |
---|---|---|
[2244] | 1 | #include "config.h" |
2 | #include "common.h" | |
3 | ||
4 | #include <pipi.h> | |
5 | ||
[2227] | 6 | int main(void) |
7 | { | |
[2244] | 8 | pipi_image_t *i, *j; |
9 | ||
10 | i = pipi_load("irc.png"); | |
11 | j = pipi_resize(i, 100, 200); | |
12 | pipi_save(j, "irc.bmp"); | |
13 | pipi_free(i); | |
14 | pipi_free(j); | |
15 | ||
[2227] | 16 | return 0; |
17 | } | |
18 |
Note: See TracBrowser
for help on using the repository browser.