GPS4Palm

Source Code Documentation


imginfo.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IMGTYPE_GIF   0
#define IMGTYPE_PNG   1
#define IMGTYPE_JPEG   2
#define IMGTYPE_UNKNOWN   0xFF

Functions

Boolean imginfo (FileDescrType fd, UInt8 *type, UInt16 *width, UInt16 *height)


Define Documentation

#define IMGTYPE_GIF   0
 

Definition at line 28 of file imginfo.h.

Referenced by imginfo().

#define IMGTYPE_JPEG   2
 

Definition at line 30 of file imginfo.h.

#define IMGTYPE_PNG   1
 

Definition at line 29 of file imginfo.h.

Referenced by imginfo().

#define IMGTYPE_UNKNOWN   0xFF
 

Definition at line 31 of file imginfo.h.


Function Documentation

Boolean imginfo FileDescrType  fd,
UInt8 *  type,
UInt16 *  width,
UInt16 *  height
 

Definition at line 49 of file imginfo.c.

References BS, feof(), fread(), fseek(), gif87a_magic, gif89a_magic, IMGTYPE_GIF, IMGTYPE_PNG, LG, mapmax, memcpy(), png_magic, rewind(), SEEK_CUR, strcmp(), strlen(), strncmp(), and USAT.

Referenced by FileSelFormHandleEvent(), and search_map().


Created: Mon, 08 Oct 2007 22:33:16 +0200
Copyright ©2004 M. Prinke