Main Page   Modules   Data Structures   Data Fields   Related Pages  

JpgAlleg - JPG routines

MJpgAlleg include the JpgAlleg 1.2, by Angelo Mottola. More...

Functions

BITMAP * load_memory_jpg (void *data, RGB *pal)
 Decodes a JPG image from a block of memory data.

BITMAP * load_jpg (AL_CONST char *filename, RGB *pal)
 Decodes a JPG image from a standard JPG file.


Detailed Description

MJpgAlleg include the JpgAlleg 1.2, by Angelo Mottola.

With this library, you can load a jpg image from a file or from a memory block.

You can download the lastest version in http://ecplusplus.com/files/jpgalleg.zip

Author:
Angelo Mottola
Date:

Function Documentation

BITMAP* load_jpg AL_CONST char *    filename,
RGB *    pal
 

Decodes a JPG image from a standard JPG file.

The filename is the file name :-), and pal is for compatibility, because all jpg is 24 bpp.

Returns:
Pointer to the bitmap if ok, NULL if occur error
See also:
load_memory_jpg()
Author:
Angelo Mottola
Date:
  • Updated : 03/09/2002

BITMAP* load_memory_jpg void *    data,
RGB *    pal
 

Decodes a JPG image from a block of memory data.

The data is the memory block, and pal is for compatibility, because all jpg is 24 bpp.

Returns:
Pointer to the bitmap if ok, NULL if occur error
See also:
load_memory_jpg()
Author:
Angelo Mottola
Date:
  • Updated : 03/09/2002


Generated on Mon Apr 7 00:19:25 2003 for MJpgAlleg by doxygen1.2.18