PngCs
1.1.4
A C# library for read/write PNG images
|
Wraps a set of rows from a image, read in a single operation, stored in a int[][] or byte[][] matrix More...
Public Member Functions | |
ImageLines (global::Hjg.Pngcs.ImageInfo ImgInfo, global::Hjg.Pngcs.ImageLine.ESampleType sampleType, bool unpackedMode, int rowOffset, int nRows, int rowStep) | |
int | ImageRowToMatrixRow (int imrow) |
Translates from image row number to matrix row. If you are not sure if this image row in included, use better ImageRowToMatrixRowStrict | |
int | ImageRowToMatrixRowStrict (int imrow) |
translates from image row number to matrix row | |
int | MatrixRowToImageRow (int mrow) |
Translates from matrix row number to real image row number | |
ImageLine | GetImageLineAtMatrixRow (int mrow) |
Constructs and returns an ImageLine object backed by a matrix row. This is quite efficient, no deep copy. | |
Properties | |
ImageInfo | ImgInfo [get, set] |
ImageLine.ESampleType | sampleType [get, set] |
bool | SamplesUnpacked [get, set] |
int | RowOffset [get, set] |
int | Nrows [get, set] |
int | RowStep [get, set] |
int[][] | Scanlines [get, set] |
byte[][] | ScanlinesB [get, set] |
Wraps a set of rows from a image, read in a single operation, stored in a int[][] or byte[][] matrix
They can be a subset of the total rows, but in this case they are equispaced.
See also ImageLine
Hjg.Pngcs.ImageLines.ImageLines | ( | global::Hjg.Pngcs.ImageInfo | ImgInfo, |
global::Hjg.Pngcs.ImageLine.ESampleType | sampleType, | ||
bool | unpackedMode, | ||
int | rowOffset, | ||
int | nRows, | ||
int | rowStep | ||
) |
int Hjg.Pngcs.ImageLines.ImageRowToMatrixRow | ( | int | imrow | ) |
Translates from image row number to matrix row. If you are not sure if this image row in included, use better ImageRowToMatrixRowStrict
imrow | Row number in the original image (from 0) |
int Hjg.Pngcs.ImageLines.ImageRowToMatrixRowStrict | ( | int | imrow | ) |
translates from image row number to matrix row
imrow | Row number in the original image (from 0) |
int Hjg.Pngcs.ImageLines.MatrixRowToImageRow | ( | int | mrow | ) |
Translates from matrix row number to real image row number
mrow |
ImageLine Hjg.Pngcs.ImageLines.GetImageLineAtMatrixRow | ( | int | mrow | ) |
Constructs and returns an ImageLine object backed by a matrix row. This is quite efficient, no deep copy.
mrow | Row number inside the matrix |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |