Hjg.Pngcs PngReader em C# (CSharp) - 23 exemplos encontrados. Esses são os exemplos do mundo real mais bem avaliados de Hjg.Pngcs.PngReader em C# (CSharp) extraídos de projetos de código aberto. Você pode avaliar os exemplos para nos ajudar a melhorar a qualidade deles.
The typical reading sequence is as follows: 1. At construction time, the header and IHDR chunk are read (basic image info) 2 (Optional) you can set some global options: UnpackedMode CrcCheckDisabled 3. (Optional) If you call GetMetadata() or or GetChunksLisk() before reading the pixels, the chunks before IDAT are automatically loaded and available 4a. The rows are read, one by one, with the ReadRowXXX methods: (ReadRowInt() , ReadRowByte(), etc) in order, from 0 to nrows-1 (you can skip or repeat rows, but not go backwards) 4b. Alternatively, you can read all rows, or a subset, in a single call: see ReadRowsInt(), ReadRowsByte() In general this consumes more memory, but for interlaced images this is equally efficient, and more so if reading a small subset of rows. 5. Read of the last row automatically loads the trailing chunks, and ends the reader. 6. End() forcibly finishes/aborts the reading and closes the stream