Show / Hide Table of Contents

# Class Image2RGBA

Image2RGBA is a filter that can decompress and normalize any PDF image stream (e.g. monochrome, CMYK, etc) into a raw RGBA pixel stream.

##### Inheritance

object
Filter
Image2RGBA

##### Implements

IDisposable

##### Inherited Members

Filter.Dispose()
Filter.Dispose(bool)
Filter.Destroy()
Filter.GetName()
Filter.GetDecodeName()
Filter.Begin()
Filter.Size()
Filter.Consume(int)
Filter.Count()
Filter.SetCount(int)
Filter.SetStreamLength(int)
Filter.AttachFilter(Filter)
Filter.ReleaseAttachedFilter()
Filter.GetAttachedFilter()
Filter.GetSourceFilter()
Filter.Flush()
Filter.FlushAll()
Filter.IsInputFilter()
Filter.CanSeek()
Filter.Seek(int, Filter.ReferencePos)
Filter.Tell()
Filter.CreateInputIterator()
Filter.GetFilePath()
Filter.WriteToFile(string, bool)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class Image2RGBA : Filter, IDisposable

### Constructors

#### Image2RGBA(Element, bool)

Instantiates a new image2 rgba.

##### Declaration

    public Image2RGBA(Element image_element, bool premultiply)

##### Parameters

Type | Name | Description
--- | --- | ---
Element | image_element | the image_element
bool | premultiply |

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### Image2RGBA(Image, bool)

Instantiates a new image2 rgba.

##### Declaration

    public Image2RGBA(Image image, bool premultiply)

##### Parameters

Type | Name | Description
--- | --- | ---
Image | image | the image
bool | premultiply |

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### Image2RGBA(Obj, bool)

Instantiates a new image2 rgba.

##### Declaration

    public Image2RGBA(Obj image_xobject, bool premultiply)

##### Parameters

Type | Name | Description
--- | --- | ---
Obj | image_xobject | the image_xobject
bool | premultiply |

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

### Implements

IDisposable