view, Annotate,Convert documents online using ASPX
View, encode, decode, edit, process 100+ images
How to C#: Imaging
Using Imaging SDK for C#.NET
Image Access and Modify
How to C#: Load Image Using XImage.Raster
Overview for How to Use XImage.Raster to load raster image in C# .NET Programming Project
RasterEdge XImage.Raster has provided five ways to create raster image object that are load from file, load from stream, load from url, load from bitmap and clone raster image from object.
The site Advanced Load Options has explained how to use the loading options. When loading image from to RasterImage object, if the parameter LoadOptions was not set, XImage.Raster SDK will load the image according to the default load option settings. That is, if you don't have any special needs, or don't know how to preset the load options, you can load image from file with the default load options whether it is PNG/BMP such a single frame image or GIF/TIFF such a multi frame image.
Load Image from file Using C#
You can load image from file using the codes as follows.
Sample Code (load image with default load option)
Sample Code (load image with load option)
Load Image from Stream Using C#
With the XImage.Raster SDK, you can load image from a memory or filestream. While, you can load a single frame image or multi frame image in the same way. You can load image from stream as follows.
Sample Code(load image from file stream with default load option)
Sample Code(load image from file stream with load option)
Load Image from Bitmap or DIB Using C#
With the XImage.Raster SDK, you can load image from System.Drawing.Bitmap or DIB data to the RasterImage object.
Sample Code (load image from bitmap with default option)
Sample Code (load image from bitmap with option)