imgmgkft.h File Reference

(r1785/r1579)

#include "maskfilt.h"
#include "outptpng.h"
#include "bmpprefs.h"

Go to the source code of this file.

Classes

class  ImageMagickExportOptions
class  ImageMagickFilter
 Encapsulates a ImageMagick export filter. Derives off the masked filter which provides funcitonality for doing masked bitmap export and import. More...
class  ImageMagickOILFilter
 The PNG File format Oil Filter (Extension etc). More...
class  ImageMagickFilterBMP
class  ImageMagickFilterCUR
class  ImageMagickFilterCUT
class  ImageMagickFilterDCM
class  ImageMagickFilterDCX
class  ImageMagickFilterDIB
class  ImageMagickFilterDNG
class  ImageMagickFilterEPDF
class  ImageMagickFilterEPI
class  ImageMagickFilterEPS
class  ImageMagickFilterEPS2
class  ImageMagickFilterEPS3
class  ImageMagickFilterEPSF
class  ImageMagickFilterEPSI
class  ImageMagickFilterEPT
class  ImageMagickFilterFAX
class  ImageMagickFilterFITS
class  ImageMagickFilterICO
class  ImageMagickFilterJNG
class  ImageMagickFilterMIFF
class  ImageMagickFilterMPC
class  ImageMagickFilterOTB
class  ImageMagickFilterP7
class  ImageMagickFilterPALM
class  ImageMagickFilterPAM
class  ImageMagickFilterPBM
class  ImageMagickFilterPCD
class  ImageMagickFilterPCDS
class  ImageMagickFilterPCL
class  ImageMagickFilterPCX
class  ImageMagickFilterPDB
class  ImageMagickFilterPDF
class  ImageMagickFilterPGM
class  ImageMagickFilterPICT
class  ImageMagickFilterPIX
class  ImageMagickFilterPNM
class  ImageMagickFilterPPM
class  ImageMagickFilterPS
class  ImageMagickFilterPS2
class  ImageMagickFilterPS3
class  ImageMagickFilterPSD
class  ImageMagickFilterPTIF
class  ImageMagickFilterPWP
class  ImageMagickFilterRLA
class  ImageMagickFilterRLE
class  ImageMagickFilterSCT
class  ImageMagickFilterSFW
class  ImageMagickFilterSUN
class  ImageMagickFilterSVG
class  ImageMagickFilterTGA
class  ImageMagickFilterTIFF
class  ImageMagickFilterTIM
class  ImageMagickFilterTTF
class  ImageMagickFilterVICAR
class  ImageMagickFilterVIFF
class  ImageMagickFilterWBMP
class  ImageMagickFilterWPG
class  ImageMagickFilterXBM
class  ImageMagickFilterXCF
class  ImageMagickFilterXPM
class  ImageMagickFilterXWD

Defines

#define DECLARE_IMAGEMAGICK_FILTER(IMType, IMFlags, IMTag, IMExtension, IMCompatibility)

Typedefs

typedef const TCHARIMFilterString
 Base class for storing information about the bitmap we're exporting.

Enumerations

enum  ImageMagickFlags {
  IM_IMPORT = 1<<0, IM_EXPORT = 1<<1, IM_EX_MASK = 1<<2, IM_EX_INTERLACE = 1<<3,
  IM_EX_ALPHA = 1<<3, IM_IM_DPI = 1<<4, IM_DEFAULT = 0
}
enum  ImageMagickFilterID {
  FILTERID_IMAGEMAGICK = FILTERID_IMAGEMAGICK_START, FILTERID_IMAGEMAGICK_BMP, FILTERID_IMAGEMAGICK_CUR, FILTERID_IMAGEMAGICK_CUT,
  FILTERID_IMAGEMAGICK_DCM, FILTERID_IMAGEMAGICK_DCX, FILTERID_IMAGEMAGICK_DIB, FILTERID_IMAGEMAGICK_DNG,
  FILTERID_IMAGEMAGICK_EPDF, FILTERID_IMAGEMAGICK_EPI, FILTERID_IMAGEMAGICK_EPS, FILTERID_IMAGEMAGICK_EPS2,
  FILTERID_IMAGEMAGICK_EPS3, FILTERID_IMAGEMAGICK_EPSF, FILTERID_IMAGEMAGICK_EPSI, FILTERID_IMAGEMAGICK_EPT,
  FILTERID_IMAGEMAGICK_FAX, FILTERID_IMAGEMAGICK_FITS, FILTERID_IMAGEMAGICK_ICO, FILTERID_IMAGEMAGICK_JNG,
  FILTERID_IMAGEMAGICK_MIFF, FILTERID_IMAGEMAGICK_MPC, FILTERID_IMAGEMAGICK_OTB, FILTERID_IMAGEMAGICK_P7,
  FILTERID_IMAGEMAGICK_PALM, FILTERID_IMAGEMAGICK_PAM, FILTERID_IMAGEMAGICK_PBM, FILTERID_IMAGEMAGICK_PCD,
  FILTERID_IMAGEMAGICK_PCDS, FILTERID_IMAGEMAGICK_PCL, FILTERID_IMAGEMAGICK_PCX, FILTERID_IMAGEMAGICK_PDB,
  FILTERID_IMAGEMAGICK_PDF, FILTERID_IMAGEMAGICK_PGM, FILTERID_IMAGEMAGICK_PICT, FILTERID_IMAGEMAGICK_PIX,
  FILTERID_IMAGEMAGICK_PNM, FILTERID_IMAGEMAGICK_PPM, FILTERID_IMAGEMAGICK_PS, FILTERID_IMAGEMAGICK_PS2,
  FILTERID_IMAGEMAGICK_PS3, FILTERID_IMAGEMAGICK_PSD, FILTERID_IMAGEMAGICK_PTIF, FILTERID_IMAGEMAGICK_PWP,
  FILTERID_IMAGEMAGICK_RLA, FILTERID_IMAGEMAGICK_RLE, FILTERID_IMAGEMAGICK_SCT, FILTERID_IMAGEMAGICK_SFW,
  FILTERID_IMAGEMAGICK_SUN, FILTERID_IMAGEMAGICK_SVG, FILTERID_IMAGEMAGICK_TGA, FILTERID_IMAGEMAGICK_TIFF,
  FILTERID_IMAGEMAGICK_TIM, FILTERID_IMAGEMAGICK_TTF, FILTERID_IMAGEMAGICK_VICAR, FILTERID_IMAGEMAGICK_VIFF,
  FILTERID_IMAGEMAGICK_WBMP, FILTERID_IMAGEMAGICK_WPG, FILTERID_IMAGEMAGICK_XBM, FILTERID_IMAGEMAGICK_XCF,
  FILTERID_IMAGEMAGICK_XPM, FILTERID_IMAGEMAGICK_XWD, FILTERID_IMAGEMAGICK_TOP
}

Functions

 WX_DECLARE_HASH_MAP (IMFilterString, UINT32, wxStringHash, wxStringEqual, IMFilterStringToUINT32)


Define Documentation

#define DECLARE_IMAGEMAGICK_FILTER IMType,
IMFlags,
IMTag,
IMExtension,
IMCompatibility   ) 
 

Value:

class ImageMagickFilter ## IMType : public ImageMagickFilter                    \
{                                                                               \
public:                                                                         \
    ImageMagickFilter ## IMType()                                               \
    {                                                                           \
        SetCapabilities((ImageMagickFlags)(IMFlags));                           \
        Flags.CanImport     = HasFlag(IM_IMPORT);                               \
        Flags.CanExport     = HasFlag(IM_EXPORT);                               \
        FilterID            = FILTERID_IMAGEMAGICK_ ## IMType ;                 \
        FilterNameID        = _R(IDS_IMAGEMAGICK_ ## IMType ## _FILTERNAME);    \
        FilterInfoID        = _R(IDS_IMAGEMAGICK_ ## IMType ## _FILTERINFO);    \
        FilterExtID         = _R(IDS_IMAGEMAGICK_ ## IMType ## _FILTEREXT);     \
        ImportMsgID         = _R(IDS_IMAGEMAGICK_ ## IMType ## _IMPORTMSG);     \
        ExportMsgID         = _R(IDS_IMAGEMAGICK_ ## IMType ## _PREPAREMSG);    \
        ExportingMsgID      = _R(IDS_IMAGEMAGICK_ ## IMType ## _EXPORTMSG);     \
        Export2ndStageMsgID = _R(IDS_IMAGEMAGICK_ ## IMType ## _MASKINGMSG);    \
    }                                                                           \
                                                                                \
    virtual wxString GetTag()           { return IMTag; }                       \
    virtual TCHAR * GetExtension()      { return IMExtension; }                 \
    virtual INT32 GetCompatibility()    { return IMCompatibility; }             \
};

Definition at line 340 of file imgmgkft.h.


Typedef Documentation

typedef const TCHAR* IMFilterString
 

Base class for storing information about the bitmap we're exporting.

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
30/10/96

Definition at line 133 of file imgmgkft.h.


Enumeration Type Documentation

enum ImageMagickFilterID
 

Enumerator:
FILTERID_IMAGEMAGICK 
FILTERID_IMAGEMAGICK_BMP 
FILTERID_IMAGEMAGICK_CUR 
FILTERID_IMAGEMAGICK_CUT 
FILTERID_IMAGEMAGICK_DCM 
FILTERID_IMAGEMAGICK_DCX 
FILTERID_IMAGEMAGICK_DIB 
FILTERID_IMAGEMAGICK_DNG 
FILTERID_IMAGEMAGICK_EPDF 
FILTERID_IMAGEMAGICK_EPI 
FILTERID_IMAGEMAGICK_EPS 
FILTERID_IMAGEMAGICK_EPS2 
FILTERID_IMAGEMAGICK_EPS3 
FILTERID_IMAGEMAGICK_EPSF 
FILTERID_IMAGEMAGICK_EPSI 
FILTERID_IMAGEMAGICK_EPT 
FILTERID_IMAGEMAGICK_FAX 
FILTERID_IMAGEMAGICK_FITS 
FILTERID_IMAGEMAGICK_ICO 
FILTERID_IMAGEMAGICK_JNG 
FILTERID_IMAGEMAGICK_MIFF 
FILTERID_IMAGEMAGICK_MPC 
FILTERID_IMAGEMAGICK_OTB 
FILTERID_IMAGEMAGICK_P7 
FILTERID_IMAGEMAGICK_PALM 
FILTERID_IMAGEMAGICK_PAM 
FILTERID_IMAGEMAGICK_PBM 
FILTERID_IMAGEMAGICK_PCD 
FILTERID_IMAGEMAGICK_PCDS 
FILTERID_IMAGEMAGICK_PCL 
FILTERID_IMAGEMAGICK_PCX 
FILTERID_IMAGEMAGICK_PDB 
FILTERID_IMAGEMAGICK_PDF 
FILTERID_IMAGEMAGICK_PGM 
FILTERID_IMAGEMAGICK_PICT 
FILTERID_IMAGEMAGICK_PIX 
FILTERID_IMAGEMAGICK_PNM 
FILTERID_IMAGEMAGICK_PPM 
FILTERID_IMAGEMAGICK_PS 
FILTERID_IMAGEMAGICK_PS2 
FILTERID_IMAGEMAGICK_PS3 
FILTERID_IMAGEMAGICK_PSD 
FILTERID_IMAGEMAGICK_PTIF 
FILTERID_IMAGEMAGICK_PWP 
FILTERID_IMAGEMAGICK_RLA 
FILTERID_IMAGEMAGICK_RLE 
FILTERID_IMAGEMAGICK_SCT 
FILTERID_IMAGEMAGICK_SFW 
FILTERID_IMAGEMAGICK_SUN 
FILTERID_IMAGEMAGICK_SVG 
FILTERID_IMAGEMAGICK_TGA 
FILTERID_IMAGEMAGICK_TIFF 
FILTERID_IMAGEMAGICK_TIM 
FILTERID_IMAGEMAGICK_TTF 
FILTERID_IMAGEMAGICK_VICAR 
FILTERID_IMAGEMAGICK_VIFF 
FILTERID_IMAGEMAGICK_WBMP 
FILTERID_IMAGEMAGICK_WPG 
FILTERID_IMAGEMAGICK_XBM 
FILTERID_IMAGEMAGICK_XCF 
FILTERID_IMAGEMAGICK_XPM 
FILTERID_IMAGEMAGICK_XWD 
FILTERID_IMAGEMAGICK_TOP 

Definition at line 381 of file imgmgkft.h.

00382 {
00383     FILTERID_IMAGEMAGICK = FILTERID_IMAGEMAGICK_START,      // This one should never be used
00384     FILTERID_IMAGEMAGICK_BMP,
00385     FILTERID_IMAGEMAGICK_CUR,
00386     FILTERID_IMAGEMAGICK_CUT,
00387     FILTERID_IMAGEMAGICK_DCM,
00388     FILTERID_IMAGEMAGICK_DCX,
00389     FILTERID_IMAGEMAGICK_DIB,
00390     FILTERID_IMAGEMAGICK_DNG,
00391     FILTERID_IMAGEMAGICK_EPDF,
00392     FILTERID_IMAGEMAGICK_EPI,
00393     FILTERID_IMAGEMAGICK_EPS,
00394     FILTERID_IMAGEMAGICK_EPS2,
00395     FILTERID_IMAGEMAGICK_EPS3,
00396     FILTERID_IMAGEMAGICK_EPSF,
00397     FILTERID_IMAGEMAGICK_EPSI,
00398     FILTERID_IMAGEMAGICK_EPT,
00399     FILTERID_IMAGEMAGICK_FAX,
00400     FILTERID_IMAGEMAGICK_FITS,
00401     FILTERID_IMAGEMAGICK_ICO,
00402     FILTERID_IMAGEMAGICK_JNG,
00403     FILTERID_IMAGEMAGICK_MIFF,
00404     FILTERID_IMAGEMAGICK_MPC,
00405     FILTERID_IMAGEMAGICK_OTB,
00406     FILTERID_IMAGEMAGICK_P7,
00407     FILTERID_IMAGEMAGICK_PALM,
00408     FILTERID_IMAGEMAGICK_PAM,
00409     FILTERID_IMAGEMAGICK_PBM,
00410     FILTERID_IMAGEMAGICK_PCD,
00411     FILTERID_IMAGEMAGICK_PCDS,
00412     FILTERID_IMAGEMAGICK_PCL,
00413     FILTERID_IMAGEMAGICK_PCX,
00414     FILTERID_IMAGEMAGICK_PDB,
00415     FILTERID_IMAGEMAGICK_PDF,
00416     FILTERID_IMAGEMAGICK_PGM,
00417     FILTERID_IMAGEMAGICK_PICT,
00418     FILTERID_IMAGEMAGICK_PIX,
00419     FILTERID_IMAGEMAGICK_PNM,
00420     FILTERID_IMAGEMAGICK_PPM,
00421     FILTERID_IMAGEMAGICK_PS,
00422     FILTERID_IMAGEMAGICK_PS2,
00423     FILTERID_IMAGEMAGICK_PS3,
00424     FILTERID_IMAGEMAGICK_PSD,
00425     FILTERID_IMAGEMAGICK_PTIF,
00426     FILTERID_IMAGEMAGICK_PWP,
00427     FILTERID_IMAGEMAGICK_RLA,
00428     FILTERID_IMAGEMAGICK_RLE,
00429     FILTERID_IMAGEMAGICK_SCT,
00430     FILTERID_IMAGEMAGICK_SFW,
00431     FILTERID_IMAGEMAGICK_SUN,
00432     FILTERID_IMAGEMAGICK_SVG,
00433     FILTERID_IMAGEMAGICK_TGA,
00434     FILTERID_IMAGEMAGICK_TIFF,
00435     FILTERID_IMAGEMAGICK_TIM,
00436     FILTERID_IMAGEMAGICK_TTF,
00437     FILTERID_IMAGEMAGICK_VICAR,
00438     FILTERID_IMAGEMAGICK_VIFF,
00439     FILTERID_IMAGEMAGICK_WBMP,
00440     FILTERID_IMAGEMAGICK_WPG,
00441     FILTERID_IMAGEMAGICK_XBM,
00442     FILTERID_IMAGEMAGICK_XCF,
00443     FILTERID_IMAGEMAGICK_XPM,
00444     FILTERID_IMAGEMAGICK_XWD,
00445 
00446     // add the others above this line
00447     FILTERID_IMAGEMAGICK_TOP
00448 };

enum ImageMagickFlags
 

Enumerator:
IM_IMPORT 
IM_EXPORT 
IM_EX_MASK 
IM_EX_INTERLACE 
IM_EX_ALPHA 
IM_IM_DPI 
IM_DEFAULT 

Definition at line 110 of file imgmgkft.h.

00111 {
00112     IM_IMPORT       = 1<<0,     // Can import
00113     IM_EXPORT       = 1<<1,     // Can export
00114     IM_EX_MASK      = 1<<2,     // Can use mask on export
00115     IM_EX_INTERLACE = 1<<3,     // Can use interlace on export
00116     IM_EX_ALPHA     = 1<<3,     // Can use alpha on import
00117     IM_IM_DPI       = 1<<4,     // Can use DPI on import (e.g. vector formats
00118 
00119     IM_DEFAULT      = 0
00120 };


Function Documentation

WX_DECLARE_HASH_MAP IMFilterString  ,
UINT32  ,
wxStringHash  ,
wxStringEqual  ,
IMFilterStringToUINT32 
 


Generated on Sat Nov 10 03:49:33 2007 for Camelot by  doxygen 1.4.4