source: libpipi/trunk/genethumb/genethumb.c @ 2244

Last change on this file since 2244 was 2244, checked in by Sam Hocevar, 14 years ago
  • Starting image resizing. X-wise resize works so far.
File size: 250 bytes
Line 
1#include "config.h"
2#include "common.h"
3
4#include <pipi.h>
5
6int main(void)
7{
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
16    return 0;
17}
18
Note: See TracBrowser for help on using the repository browser.