Saves the PixMap to stream attempting to preserve resolution, color space and depth as far as the output format allows.
The output format is specified using a file extension. In the case of saving to file, the extension is taken from the file path. In the case of saving to stream, a dummy name should be provided.
For details of the capabilities of output formats, see the XRendering.Save method.
|