Interface to a class representing an image extracted from a PDF file. Intended to be only used with the JawsMako APIs.
More...
|
virtual CEDLVector< IDecodeParamsPtr > | getDecodeParameters () const =0 |
| Retrieves the decode parameters. May be NULL.
|
|
virtual IDecodeParamsPtr | getDecodeParametersAtIndex (uint32 index) const |
| Retrieves the decode parameters from the list with the given index. May be NULL.
|
|
virtual CEDLVector< eDOMImageType > | getImageTypes () const =0 |
| Retrieves the array of the image type.
|
|
virtual CEDLVector< float > | getDecode () const =0 |
| Retrieves the decode array used to interpret the color samples. An empty vector will be returned if there is no decode.
|
|
virtual uint8 | getBitsPerComponent () const =0 |
| Retrieves the bits per component of the source data. For JPEG2000, this information is available only in the image stream and this function will return 0. In this case please use the IImageStream interface.
|
|
virtual CEDLVector< uint16 > | getColorKey () const =0 |
| Retrieves the color key for mask generation. An empty vector will be returned if there is no color key.
|
|
virtual IDOMColorSpacePtr | getColorSpace () const =0 |
| Retrieves the color space to be used with this image. For JPEG2000, this may be NULL if the colorspace needs to be determined from the image data. In this case please use the IImageStream interface.
|
|
virtual eImageAlpha | getAlphaDetails () const =0 |
| Returns if the image has alpha, and if the color samples are premultiplied.
|
|
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 void | setStream (const IInputStreamPtr &stream)=0 |
| Sets the resource stream for the node.
|
|
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.
|
|
Interface to a class representing an image extracted from a PDF file. Intended to be only used with the JawsMako APIs.