Ignore:
Timestamp:
Feb 27, 2008, 12:50:08 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Starting image resizing. X-wise resize works so far.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/genethumb/genethumb.c

    r2227 r2244  
     1#include "config.h"
     2#include "common.h"
     3
     4#include <pipi.h>
     5
    16int main(void)
    27{
     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
    316    return 0;
    417}
Note: See TracChangeset for help on using the changeset viewer.