Example #1
0
        public IImageSource GridToImage2(IGridSource grid, RasterColorScheme scheme, GridProxyFormat imageFormat,
                                         bool inRam)
        {
            var img = _utils.GridToImage2(grid.GetInternal(), scheme.GetInternal(), (tkGridProxyFormat)imageFormat, inRam, null);

            return(BitmapSource.Wrap(img));
        }
Example #2
0
 public Image GridToImage(IGridSource grid, RasterColorScheme scheme)
 {
     return(_utils.GridToImage(grid.GetInternal(), scheme.GetInternal()));
 }