C# (CSharp) BitMiracle.LibJpeg.Classic jpeg_decompress_struct.jpeg_read_coefficients - 3 examples found. These are the top rated real world C# (CSharp) examples of BitMiracle.LibJpeg.Classic.jpeg_decompress_struct.jpeg_read_coefficients extracted from open source projects. You can rate examples to help us improve the quality of examples.
Read or write the raw DCT coefficient arrays from a JPEG file (useful for lossless transcoding).
jpeg_read_header must be completed before calling this. The entire image is read into a set of virtual coefficient-block arrays, one per component. The return value is an array of virtual-array descriptors. An alternative usage is to simply obtain access to the coefficient arrays during a buffered-image mode decompression operation. This is allowed after any jpeg_finish_output call. The arrays can be accessed until jpeg_finish_decompress is called. Note that any call to the library may reposition the arrays, so don't rely on jvirt_array{T}.Access results to stay valid across library calls.