Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure

JpgLoader Class Reference

Define a JPG loader. More...

#include <StelTextureMgr.hpp>

Inherits ImageLoader.

List of all members.

Static Public Member Functions

static bool loadFromMemory (const QByteArray &data, TexInfo &texinfo)


Detailed Description

Define a JPG loader.

This implementation supports LUMINANCE or RGB.


Member Function Documentation

static bool JpgLoader::loadFromMemory ( const QByteArray &  data,
TexInfo &  texinfo 
) [static]

Load the jpeg data from a buffer already in memory.

The implementation doesn't use the Qt loading for performances reasons.

Parameters:
data the array containing the raw compressed image bytes
texinfo the texinfo to generate
Returns:
false in case of loading error


Generated on Mon Mar 9 16:16:16 2009 for Stellarium by  doxygen 1.5.5