Derm.Raster.ImageLoaderCore Class Reference

ImageLoader for multiple file formats, supported by the current .NET framework. More...

Inherits Derm::Raster::ImageLoader::Plugin.

List of all members.

Public Member Functions

override bool IsSupported (FileStream fs)
 Check whether a file stream is supported.
override bool IsSupported (string path)
 Check whether a file stream is supported.
override Image Load (FileStream fs)
 Load image pixels from file.
override ImageLoader.ImageInfo QueryImageInfo (FileStream fs)
 Query image file informations.
override void Save (FileStream fs, Image image)
 Save image pixels to file.

Detailed Description

ImageLoader for multiple file formats, supported by the current .NET framework.


Member Function Documentation

override bool Derm.Raster.ImageLoaderCore.IsSupported ( FileStream  fs  ) 

Check whether a file stream is supported.

Parameters:
fs A FileStream specifying the file stream.
Returns:
A System.Boolean indicating whether the file is supported by this ImageLoaderCore instance.

This routine determine whether a file is supported by examining the file contents.

override bool Derm.Raster.ImageLoaderCore.IsSupported ( string  path  ) 

Check whether a file stream is supported.

Parameters:
path A System.String specifying the file path.
Returns:
A System.Boolean indicating whether the file is supported by this ImageLoaderCore instance.

This routine determine whether a file is supported by examining the file name extention.

override Image Derm.Raster.ImageLoaderCore.Load ( FileStream  fs  ) 

Load image pixels from file.

Returns:
A FileStream storing the image data.
override ImageLoader.ImageInfo Derm.Raster.ImageLoaderCore.QueryImageInfo ( FileStream  fs  ) 

Query image file informations.

Returns:
A ImageLoader.ImageInfo specifying the image informations.
override void Derm.Raster.ImageLoaderCore.Save ( FileStream  fs,
Image  image 
)

Save image pixels to file.

Parameters:
fs A System.IO.FileStream which stores the image data.
image A Image holding the data to be stored.


Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads