Input for WinForms | ComponentOne
C1.Win.Util Namespace / ImageRecolorer Class / MapPixels Method
The source image using Format32bppArgb as pixel format.
The destination image using Format32bppPArgb as pixel format.
The width of the source and destination images.
The height of the source and destination images.

In This Topic
    MapPixels Method
    In This Topic
    Copies the source image to the destination image with replacing colors.
    Syntax
    'Declaration
     
    
    Public Sub MapPixels( _
       ByVal srcImage As Bitmap, _
       ByVal dstImage As Bitmap, _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) 
    public void MapPixels( 
       Bitmap srcImage,
       Bitmap dstImage,
       int width,
       int height
    )

    Parameters

    srcImage
    The source image using Format32bppArgb as pixel format.
    dstImage
    The destination image using Format32bppPArgb as pixel format.
    width
    The width of the source and destination images.
    height
    The height of the source and destination images.
    See Also