|
PSDFile MBDLL_DECL * | PSDOpen (const QString &fileName, bool write=false) |
| Open a Photoshop(PSD) file and fill internally meta data (file meta and layers meta data). More...
|
|
PSDError MBDLL_DECL | PSDGetLastError (PSDFile *psdFile) |
| Obtain the last status of libPSD. More...
|
|
const MBDLL_DECL PSDFileMeta * | PSDGetFileMeta (const PSDFile *psdFile) |
| Get the file metadata of a PSD file. More...
|
|
bool MBDLL_DECL | PSDSetFileMeta (PSDFile *psdFile, const PSDFileMeta *psdFileMeta) |
| Set the file metadata of psdFile. More...
|
|
const MBDLL_DECL PSDLayerMeta * | PSDGetLayerMeta (const PSDFile *psdFile, unsigned int layerIndex) |
| Get the layer meta data for layerIndex of psdFile object. More...
|
|
void MBDLL_DECL | PSDSetLayerMeta (PSDFile *psdFile, unsigned int layerIndex, PSDLayerMeta *psdLayerMeta) |
| Set the layer meta data for layerIndex of psdFile object. More...
|
|
bool MBDLL_DECL | PSDReadChannelImageData (PSDFile *psdFile, unsigned int layerIndex, unsigned int channelIndex, void *buffer, size_t bufferSize) |
| Read the channel image data for this layer and this channel of psdFile object. More...
|
|
bool MBDLL_DECL | PSDWriteChannelImageData (PSDFile *psdFile, unsigned int layerIndex, unsigned int channelIndex, void *buffer, size_t bufferSize) |
|
bool MBDLL_DECL | PSDReadChannelImageData (PSDFile *psdFile, void *buffer, size_t bufferSize) |
|
bool MBDLL_DECL | PSDReadCompositeImageData (PSDFile *psdFile, unsigned int imageWidth, unsigned int imageHeight, void *buffer, size_t bufferSize) |
|
bool MBDLL_DECL | PSDWriteCompositeImageData (PSDFile *psdFile, unsigned int imageWidth, unsigned int imageHeight, CompressionMethod compressMethod, void *buffer, size_t bufferSize) |
|
bool MBDLL_DECL | PSDWrite4ChanCompositeImageData (PSDFile *psdFile, unsigned int imageWidth, unsigned int imageHeight, CompressionMethod compressMethod, void **ARGBPixels) |
|
void MBDLL_DECL | PSDClose (PSDFile *psdFile) |
| Close the psdFile object and free all private data. More...
|
|
bool MBDLL_DECL | PSDBlendLayers (unsigned char *rSrc, unsigned char *gSrc, unsigned char *bSrc, unsigned char *aSrc, float glbOpacity, LRect inRectLayer1, int blendMode, unsigned int inWidth, unsigned int inHeight, unsigned char *&rDst, unsigned char *&gDst, unsigned char *&bDst, unsigned char *&aDst) |
| BlendLayers is a helper function that blend 2 layers based on the src's blend mode. More...
|
|
void MBDLL_DECL | PSDInterleaveImageData (int nPixels, const unsigned char *r, const unsigned char *g, const unsigned char *b, const unsigned char *a, unsigned int *target, bool multAlpha=true) |
| InterleaveImageData takes the 4 seperate RGBA planes and interleaves them into a single RGBA image – optionally multiplying the RGB by the alpha. More...
|
|
void MBDLL_DECL | PSDInterleaveImageData16_16 (int nPixels, const unsigned short *r, const unsigned short *g, const unsigned short *b, const unsigned short *a, unsigned short *target, bool multAlpha=true) |
| InterleaveImageData16 takes the 4 separate 16 bit RGBA planes and interleaves them into a single 16 bit per channel RGBA image – optionally multiplying the RGB by the alpha. More...
|
|
void MBDLL_DECL | PSDInterleaveImageData32_32 (int nPixels, const float *r, const float *g, const float *b, const float *a, float *target, bool multAlpha=true) |
| InterleaveImageData32 takes the 4 separate 32 bit float RGBA planes and interleaves them into a single 32 bit float per channel RGBA image – optionally multiplying the RGB by the alpha. More...
|
|
void MBDLL_DECL | PSDInterleaveImageData16 (int nPixels, const unsigned short *r, const unsigned short *g, const unsigned short *b, const unsigned short *a, unsigned int *target, bool multAlpha=true) |
| InterleaveImageData16 takes the 4 separate 16 bit RGBA planes and interleaves them into a single 8 bit per channel RGBA image – optionally multiplying the RGB by the alpha. More...
|
|
void MBDLL_DECL | PSDInterleaveImageData32 (int nPixels, const float *r, const float *g, const float *b, const float *a, unsigned int *target, bool multAlpha=true) |
| InterleaveImageData32 takes the 4 separate 32 bit float RGBA planes and interleaves them into a single 8 bit per channel RGBA image – optionally multiplying the RGB by the alpha. More...
|
|