Show / Hide Table of Contents

# Class Image2RGB

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

##### Inheritance

object
Filter
Image2RGB

##### 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 Image2RGB : Filter, IDisposable

### Constructors

#### Image2RGB(Element)

Instantiates a new image2 rgb.

##### Declaration

    public Image2RGB(Element image_element)

##### Parameters

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

##### Exceptions

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

#### Image2RGB(Image)

Instantiates a new image2 rgb.

##### Declaration

    public Image2RGB(Image image)

##### Parameters

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

##### Exceptions

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

#### Image2RGB(Obj)

Instantiates a new image2 rgb.

##### Declaration

    public Image2RGB(Obj image_xobject)

##### Parameters

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

##### Exceptions

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

### Implements

IDisposable