⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gifreader.h

📁 这是法国Kaleido公司提供了一个手机mmi设计平台
💻 H
字号:
/***************************************************************************
                     GIFReader.h  -  An LZW decoder for GIF
                     ---------
    begin                : Tue Nov 08 2005
    copyright            : (C) 2003-2005 by DigitalAirways
    email                : info@digitalairways.com
 ***************************************************************************/

/*
 * Copyright (c) 2005 DigitalAirways, sarl. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * DigitalAirways, sarl. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with DigitalAirways.
 * A copy of this license is included in the licence.txt file included
 * on this software package.
 *
 * Based on : FRACTINT
 *             Copyright (C) 1987, by Steven A. Bennett
 *
 *
 */


#ifndef _GIFREADER_H_
#define _GIFREADER_H_

#include "EB_PFWGraphics.h"

/*****************************************************************************
* Local typedefs
******************************************************************************/


/*****************************************************************************
* Global functions
******************************************************************************/


#ifdef __cplusplus
extern "C" {
#endif

/*
 * Creates a 32bit buffer from a bloc of data
 */
void decodeGIFImage(unsigned char* data, int dataLen, unsigned char** buffer, int *w, int *h);
/*
 * Return non zero if the bloc of data seems to be a valid GIF file
 */
int isValidGIFImage(unsigned char* data, int dataLen);
/*
 * Creates a PFWGraphics from a bloc of data
 */
void readGIFImage(PFWGraphics* g , unsigned char* data, int dataLen);

#ifdef __cplusplus
}
#endif


// void readGIFImage(PFWGraphics* g , char *filename);

#endif // ndef _GIFREADER_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -