CodeCarvings.Piczard
LoadImageFromByteArray Method
See Also  Send Feedback
CodeCarvings.Piczard.Plugins Namespace > IImageArchiverPlugin Interface : LoadImageFromByteArray Method

bytes
The byte array containing the image data.
useEmbeddedColorManagement
true to use color management information embedded in the image data; otherwise, false (null indicates to use the default value).
validateImageData
true to validate the image data; otherwise, false (null indicates to use the default value).
Loads an image from an array of bytes.

Syntax

Visual Basic (Declaration)  
Function LoadImageFromByteArray( _
   ByVal bytes() As Byte, _
   ByVal useEmbeddedColorManagement As Nullable(Of Boolean), _
   ByVal validateImageData As Nullable(Of Boolean) _
) As PluginOperationResult(Of LoadedImage)

Parameters

bytes
The byte array containing the image data.
useEmbeddedColorManagement
true to use color management information embedded in the image data; otherwise, false (null indicates to use the default value).
validateImageData
true to validate the image data; otherwise, false (null indicates to use the default value).

Return Value

PluginOperationResult<LoadedImage> that indicates if the Plugin has handled the request.
In case of success (Handled=true) the Value property contains the image 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.