ImageGear .NET v25.0 - Updated
ColorProfile Property (ImGearCommonMetadata)




ImageGear.Core Assembly > ImageGear.Formats Namespace > ImGearCommonMetadata Class : ColorProfile Property
Gets color profile data of the file page from which the image was loaded, or null if the format filter does not support loading of color profiles.
Syntax
'Declaration
 
Public ReadOnly Property ColorProfile As Byte()
'Usage
 
Dim instance As ImGearCommonMetadata
Dim value() As Byte
 
value = instance.ColorProfile
public byte[] ColorProfile {get;}
public: __property byte[]* get_ColorProfile();
public:
property array<byte>^ ColorProfile {
   array<byte>^ get();
}

Property Value

Byte array value.
Remarks
This property returns the color profile data of the file page from which the image was loaded. It returns null if the file page did not contain a profile or if the format filter does not support the loading of color profiles. This property also returns null (source file page color profile is undefined) if the page was created using a ImageGear.Core.ImGearRasterPage class or ImageGear.Core.ImGearVectorPage class constructor, or using an image processing method.

Note: This property is not updated during image conversions such as profile or colorspace conversions.

The property does not have a Set accessor. On image writing, ImageGear ignores this property, and uses the profile attached to the image DIB.

See Also

Reference

ImGearCommonMetadata Class
ImGearCommonMetadata Members