The size of the image that is written is the size of the source image. No component subsampling is allowed in any of the components that are written to the file.
Before writing, all coefficients are inversly level-shifted and then "saturated" (they are limited * to the nominal dynamic range).
Ex: if the nominal range is 0-255, the following algorithm is applied:
if coeff<0, output=0
if coeff>255, output=255
else output=coeff The write() methods of an object of this class may not be called concurrently from different threads.
NOTE: This class is not thread safe, for reasons of internal buffering.
|
|
|
|
|
|