BitMiracle.LibJpeg.JpegImage.ToBitmap C# (CSharp) Method

ToBitmap() public method

Retrieves image as .NET Bitmap.
public ToBitmap ( ) : Bitmap
return System.Drawing.Bitmap
        public Bitmap ToBitmap()
        {
            return bitmap.Clone() as Bitmap;
        }
#endif

Usage Example

Example #1
0
 public override Image Load(Stream s)
 {
     BitMiracle.LibJpeg.JpegImage j = new BitMiracle.LibJpeg.JpegImage(s);
     Image i = (Image)j.ToBitmap();
     j.Dispose();
     System.GC.Collect();
     return i;
 }
All Usage Examples Of BitMiracle.LibJpeg.JpegImage::ToBitmap