代码搜索结果
找到约 10,000 项符合
Image 的代码
image.h
/*!
************************************************************************
* \file image.h
*
* \author
* Inge Lille-Lang鴜
* Copyright (C
image.c
/*!
*************************************************************************************
* \file image.c
*
* \brief
* Code one image/slice
*
* \author
* Main contributors (see
image.c
#include
#include "image.h"
struct image *image_new(int width, int height)
{
struct image *img = (struct image*)malloc(sizeof(struct image));
if(img)
{
img->width = width;
img->heigh
image.h
#ifndef _IMAGE_H_INCLUDED_
#define _IMAGE_H_INCLUDED_
struct image
{
int bufsize;
int width, height;
unsigned char *buf;
};
struct RGB
{
char r;
char g;
char b;
};
struct image *image_new(in