Ignore:
Timestamp:
Aug 2, 2008, 2:00:51 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • pipi.c: reimplement pipi_new() without relying on the underlying codec library, so we can have several or none of them at some time.
  • sdl.c imlib.c: allow to save images that weren't created using the current codec.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/codec/opencv.c

    r2605 r2629  
    3030#include "pipi_internals.h"
    3131
     32/* FIXME: this whole file is broken until we support BGR24 images */
     33
    3234pipi_image_t *pipi_load_opencv(const char *name)
    3335{
     
    5961{
    6062    pipi_image_t *img;
    61     IplImage *priv = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3);
     63    IplImage *priv = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 4);
    6264
    6365    if(!priv)
Note: See TracChangeset for help on using the changeset viewer.