Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXJPGIcon.h File Reference

#include "FXIcon.h"

Go to the source code of this file.

Namespaces

namespace  FX

Functions

bool fxcheckJPG (FXStream &store)
bool fxloadJPG (FXStream &store, FXColor *&data, FXint &width, FXint &height, FXint &quality)
bool fxsaveJPG (FXStream &store, const FXColor *data, FXint width, FXint height, FXint quality)


Function Documentation

bool FX::fxcheckJPG FXStream &  store  ) 
 

Check if stream contains a JPG, return TRUE if so.

bool FX::fxloadJPG FXStream &  store,
FXColor *&  data,
FXint width,
FXint height,
FXint quality
 

Load an JPEG (Joint Photographics Experts Group) file from a stream.

Upon successful return, the pixel array and size are returned. If an error occurred, the pixel array is set to NULL.

bool FX::fxsaveJPG FXStream &  store,
const FXColor data,
FXint  width,
FXint  height,
FXint  quality
 

Save an JPEG (Joint Photographics Experts Group) file to a stream.

Copyright © 1997-2005 Jeroen van der Zijp