CSJ2K.j2k.image.output.ImgWriterPPM.ImgWriterPPM C# (CSharp) Method

ImgWriterPPM() public method

Creates a new writer to the specified file, to write data from the specified component.

The three components that will be written as R, G and B must be specified through the b1, b2 and b3 arguments.

public ImgWriterPPM ( System fname, BlkImgDataSrc imgSrc, int n1, int n2, int n3 ) : System
fname System The name of the file where to write the data /// ///
imgSrc BlkImgDataSrc The source from where to get the image data to write. /// ///
n1 int The index of the first component from where to get the data, /// that will be written as the red channel. /// ///
n2 int The index of the second component from where to get the data, /// that will be written as the green channel. /// ///
n3 int The index of the third component from where to get the data, /// that will be written as the green channel. /// ///
return System
        public ImgWriterPPM(System.String fname, BlkImgDataSrc imgSrc, int n1, int n2, int n3)
            : this(FileInfoFactory.New(fname), imgSrc, n1, n2, n3)
        {
        }

Same methods

ImgWriterPPM::ImgWriterPPM ( IFileInfo out_Renamed, BlkImgDataSrc imgSrc, int n1, int n2, int n3 ) : System