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

FX::FXJPGImage Class Reference

JPEG Image class. More...

#include <FXJPGImage.h>

Inheritance diagram for FX::FXJPGImage:
FX::FXImage FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

 FXJPGImage (FXApp *a, const void *pix=NULL, FXuint opts=0, FXint w=1, FXint h=1, FXint q=75)
 Construct an image from memory stream formatted in JPEG format.
void setQuality (FXint q)
 Set image quality to save with.
FXint getQuality () const
 Get image quality setting.
virtual FXbool savePixels (FXStream &store) const
 Load pixels from stream in JPEG format.
virtual FXbool loadPixels (FXStream &store)
 Save pixels into stream in JPEG format.
virtual ~FXJPGImage ()
 Destroy.

Static Public Attributes

static const FXchar fileExt []
static const FXchar mimeType []
static const FXbool supported
 True if format is supported.

Protected Attributes

FXint quality

Detailed Description

JPEG Image class.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp