public IWICBitmap CreateBitmap(int width, int height, Guid pixelFormatGuid, BitmapCreateCacheOption option = BitmapCreateCacheOption.CacheOnLoad)
 {
     return(CreateBitmap_(width, height, pixelFormatGuid, option));
 }
Ejemplo n.º 2
0
 public static IBitmap <TPixel> CreateBitmap <TPixel>(this IImagingFactory factory, SizeInt32 size, BitmapCreateCacheOption option = 2) where TPixel : struct, INaturalPixelInfo =>
 factory.CreateBitmap <TPixel>(size.width, size.height, option);
Ejemplo n.º 3
0
 public IBitmap CreateBitmapFromSource(IBitmapSource bitmapSource, BitmapCreateCacheOption option) =>
 base.innerRefT.CreateBitmapFromSource(bitmapSource, option);
Ejemplo n.º 4
0
        public static IBitmap <TPixel> CreateBitmap <TPixel>(this IImagingFactory factory, int width, int height, BitmapCreateCacheOption option = 2) where TPixel : struct, INaturalPixelInfo
        {
            TPixel local = default(TPixel);

            return((IBitmap <TPixel>)factory.CreateBitmap(width, height, local.PixelFormat, option));
        }
Ejemplo n.º 5
0
 public IBitmap CreateBitmap(int width, int height, PixelFormat pixelFormat, BitmapCreateCacheOption option) =>
 base.innerRefT.CreateBitmap(width, height, pixelFormat, option);