Similar to IDOMRecombineImage, but instead combines an image comprising the color components of the image, with a single-channel image that represents the mask or alpha channel. The images must have the same, dimensions, but may have different dimensions. The resolution information will be taken from the color image. Images with Indexed color spaces will be converted to the base spaces.
More...
#include <idomimageresource.h>
|
virtual bool | getStream (IInputStreamPtr &stream) const |
| This image type does not allow direct access to the underlying streams.
|
|
virtual void | setStream (const IInputStreamPtr &stream) |
| This image type does not allow direct access to the underlying streams.
|
|
virtual IImageDecoderPtr | createImageDecoder (IEDLClassFactory *factory, const IDOMImagePropertiesPtr &imageProperties)=0 |
| Creates a properly initialized image decoder object that reads from an inputstream that is specific to that image format.
|
|
virtual IImageFramePtr | getImageFrame (IEDLClassFactory *factory) |
| Fetch the image frame; convenience.
|
|
virtual IImageEncoderPtr | createImageEncoder (const ISessionPtr &session, const IOutputStreamPtr &imageDest, const IDOMImagePropertiesPtr &imageProperties)=0 |
| Creates a properly initialized image encoder object that writes to an outputstream that is specific to that image format.
|
|
virtual IDOMImagePropertiesPtr | getImageProperties ()=0 |
| Returns an object that stores the properties for this image object. The properties can then be inspected (or more added) by clients that need to manipulate the image resource.
|
|
virtual eDOMImageType | getImageType ()=0 |
| Retrieves the image type.
|
|
virtual bool | getIsRendered ()=0 |
| Determine if the image is as a result of rendering. This is indicated if the image type is eDITRendered or if the image explicitly notes this is the case (such as for IDOMPDFImage).
|
|
virtual IDOMImagePtr | getImageWithSubstitutedColorSpace (IEDLClassFactory *factory, const IDOMColorSpacePtr &colorSpace) |
| Obtain an image that is the same as this image, but with the colorspace substituted for another.
|
|
virtual IInputStreamPtr | getStream () const =0 |
| Retrieves the resource stream.
|
|
virtual uint64 | getStreamLength () const =0 |
| Retrieves the stream length, if it is available.
|
|
virtual const EDLSysString & | getUri () const =0 |
| Retrieves the resource URI.
|
|
virtual void | setUri (const EDLSysString &uri)=0 |
| Sets the resource URI.
|
|
virtual const CClassID & | getClassID () const =0 |
| Returns class ID of IEDLObject.
|
|
virtual bool | init (CClassParams *pData) |
| The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
|
|
virtual bool | clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory) |
| Create a copy of EDLObject.
|
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
|
virtual | ~IDOMHashable () |
| Virtual destructor.
|
|
virtual bool | hash (uint64 &hash)=0 |
| Retrieve a hash for this object.
|
|
virtual uint64 | hashE () |
| As hash(), but throws an exception if the operation fails.
|
|
|
virtual | ~IRCObject () |
| Virtual destructor.
|
|
Similar to IDOMRecombineImage, but instead combines an image comprising the color components of the image, with a single-channel image that represents the mask or alpha channel. The images must have the same, dimensions, but may have different dimensions. The resolution information will be taken from the color image. Images with Indexed color spaces will be converted to the base spaces.
◆ classID()
static const CClassID & IDOMRecombineAlphaImage::classID |
( |
| ) |
|
|
inlinestatic |
◆ create()
static EDL_API IDOMRecombineAlphaImagePtr IDOMRecombineAlphaImage::create |
( |
IEDLClassFactory * | pFactory, |
|
|
const IDOMImagePtr & | colorImage, |
|
|
const IDOMImagePtr & | extraChannel, |
|
|
bool | extraChannelIsMask = false ) |
|
static |
Simplified creator for a IDOMRecombineAlphaImage.
- Parameters
-
pFactory | The EDL Class Factory |
colorImage | The image with the color components |
extraChannel | The image with the mask/alpha channel |
extraChannelIsMask | If true, the extra channel will be noted as a mask rather than alpha |
- Returns
- IDOMRecombineAlphaImagePtr The combined result.
◆ getStream()
virtual bool IDOMRecombineAlphaImage::getStream |
( |
IInputStreamPtr & | stream | ) |
const |
|
inlinevirtual |
This image type does not allow direct access to the underlying streams.
- Parameters
-
stream | A smart pointer to the stream |
- Returns
- bool Always false
◆ setStream()
virtual void IDOMRecombineAlphaImage::setStream |
( |
const IInputStreamPtr & | stream | ) |
|
|
inlinevirtual |
This image type does not allow direct access to the underlying streams.
- Parameters
-
stream | A smart pointer to the stream |
Implements IDOMResource.
The documentation for this class was generated from the following file: