public NRaster Convert( NPixelFormat destFormat, System.bool copySource )
Parameters
- destFormat
- The target pixel format of the destination raster.
- copySource
- Specifies wheteher a copy of this raster must be returned in case that conversion is not necessary.
Return Value
Returns a NRaster object containing the image data from the current raster, converted to the pixel format specified by destFormat. If destFormat is the same as the current raster's pixel format and copySource is set to false - then a reference to the current raster is returned.