26 #ifndef __OD_RASTER_MODULE__
27 #define __OD_RASTER_MODULE__
107 #ifndef ODA_BIGENDIAN
108 #if defined(OD_SWIGCSHARP) || defined(OD_SWIGJAVA)
109 #define OD_FOURCC(a, b, c, d) (((long)(d) << 24) | ((long)(c) << 16) | ((long)(b) << 8) | ((long)(a)))
111 #define OD_FOURCC(a, b, c, d) (((OdUInt32)(d) << 24) | ((OdUInt32)(c) << 16) | ((OdUInt32)(b) << 8) | ((OdUInt32)(a)))
114 #define OD_FOURCC(a, b, c, d) (((OdUInt32)(a) << 24) | ((OdUInt32)(b) << 16) | ((OdUInt32)(c) << 8) | ((OdUInt32)(d)))
OdSmartPtr< OdGiRasterImage > OdGiRasterImagePtr
OdSmartPtr< OdRxRasterServices > OdRxRasterServicesPtr
#define OD_FOURCC(a, b, c, d)
virtual bool saveRasterImage(const OdGiRasterImage *rasterImage, const OdString &filename, OdUInt32 type, const OdUInt32 *pFlagsChain=NULL)=0
virtual OdString mapTypeToExtension(OdUInt32 type, OdString *psFilterName) const =0
virtual OdUInt32 getImageFormat(OdStreamBuf *pStreamBuf) const =0
virtual OdGiRasterImagePtr loadRasterImage(const OdString &filename, const OdUInt32 *pFlagsChain=NULL)=0
virtual bool convertRasterImage(OdStreamBuf *pSrcStream, OdStreamBuf *pDstStream, OdUInt32 type, const OdUInt32 *pFlagsChainSrc=NULL, const OdUInt32 *pFlagsChainDst=NULL)=0
virtual OdGiRasterImagePtr createRasterImage(void *pImp)
virtual OdUInt32 getImageFormat(const OdString &filename) const =0
ODRX_DECLARE_MEMBERS(OdRxRasterServices)
virtual bool isRasterImageTypeSupported(OdUInt32 type) const
virtual OdGiRasterImagePtr loadRasterImage(OdStreamBuf *pStreamBuf, const OdUInt32 *pFlagsChain=NULL)=0
virtual bool saveRasterImage(const OdGiRasterImage *rasterImage, const OdString &filename, const OdUInt32 *pFlagsChain=NULL)=0
virtual bool convertRasterImage(const OdGiRasterImage *pRaster, OdUInt32 type, OdStreamBuf *pStreamBuf, const OdUInt32 *pFlagsChain=NULL)=0
virtual OdUInt32 mapExtensionToType(const OdString &extension) const =0
virtual OdUInt32Array getRasterImageTypes() const =0
GLuint GLsizei GLsizei GLint GLenum * type
@ kCUT
A .psd (Adobe Photoshop) image.
@ kBMP
The format is unknown.