CodeCarvings.Piczard
LoadImage(Object,Boolean) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageArchiver Class > LoadImage Method : LoadImage(Object,Boolean) Method

source
A string (file path), a Stream or an array of bytes containing the image data.
useEmbeddedColorManagement
true to use embedded color management information; otherwise, false.
Loads an image from the file system, a Stream or an array of bytes, optionally using embedded color management information.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function LoadImage( _
   ByVal source As Object, _
   ByVal useEmbeddedColorManagement As Boolean _
) As LoadedImage
C#  
public static LoadedImage LoadImage( 
   object source,
   bool useEmbeddedColorManagement
)

Parameters

source
A string (file path), a Stream or an array of bytes containing the image data.
useEmbeddedColorManagement
true to use embedded color management information; otherwise, false.

Return Value

The Image this method creates encapsulated in an instance of the LoadedImage class.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.