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

FX::FXJPGImage Class Reference

JPEG Image class.

#include <FXJPGImage.h>

Inheritance diagram for FX::FXJPGImage:

FX::FXImage FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Methods

 FXJPGImage (FXApp *a, const void *pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
 Construct an image from memory stream formatted in JPEG format.

virtual FXbool loadPixels (FXStream &store)
 Save pixels into stream in JPEG format.

virtual FXbool savePixels (FXStream &store) const
 Load pixels from stream in JPEG format.

void setQuality (FXint q)
 Set image quality to save with.

FXint getQuality () const
 Get image quality setting.

virtual ~FXJPGImage ()
 Destroy.