Click or drag to resize

ColorProfile Class

A color profile that is used for translating colors.

Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.ColorManagementColorProfile

Namespace:  Atalasoft.Imaging.ColorManagement
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class ColorProfile : IDisposable

The ColorProfile type exposes the following members.

Constructors
  NameDescription
Public methodColorProfile(Byte)

Initializes a new instance of ColorProfile specifying a byte array containing the profile memory.

Public methodColorProfile(Stream)

Initializes a new instance of ColorProfile specifying a stream containing the profile memory.

Public methodColorProfile(String)

Initializes a new instance of ColorProfile specifying the filename containing a color profile.

Public methodColorProfile(IntPtr, Int32)

Initializes a new instance of ColorProfile specifying a pointer to the profile memory and the size of this memory.

Top
Properties
  NameDescription
Public propertyClass
Gets the profile class.
Public propertyCmmType
Gets the identification number of the CMM that is used in the profile. Identification numbers are registered with the ICC.
Public propertyColorSpace
Gets a value that indicates the color space in which the profile data is defined.
Public propertyConnectionColorSpace
Gets a value that indicates the color space in which the profile connection space (PCS) is defined.
Public propertyCopyright
Gets the copyright information stored within the color profile.
Public propertyCreator
Gets a signature of the software that created the profile. Signatures are registered with the ICC.
Public propertyDescription
Gets the description value stored within the color profile.
Public propertyFlags
Gets bit flags containing hints that the CMM uses to interpret the profile data.
Public propertyManufacturer

Gets the identification number of the device profile manufacturer. All manufacturer identification numbers are registered with the ICC.

Public propertyModel
Gets the device manufacturer's device model number. All model identification numbers are registered with the ICC.
Public propertyPlatform
Gets the primary platform for which the profile was created.
Public propertyRenderingIntent
Gets the profile rendering intent.
Public propertyVersion
Gets the version number of this color profile.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the ColorProfile class.
(Overrides ObjectFinalize.)
Public methodStatic memberFromEmbedded(Stream)
Returns a ColorProfile embedded within an image given the image stream.
Public methodStatic memberFromEmbedded(String)
Returns a ColorProfile embedded within an image given the image file name.
Public methodStatic memberFromSrgb
Returns the standard sRGB Color Profile.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProfileBytes
Gets the profile bytes.
Public methodStatic memberGetProfileDirectory
Returns the path of the color profile directory.
Public methodStatic memberGetProfileFromGraphics
Returns the color profile assigned to a specified Graphics object.
Public methodStatic memberGetProfileFromScreen
Returns the default color profile assigned to the screen.
Public methodStatic memberGetScreenProfileName
Returns the name of the color profile associated with the current display.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Save this ColorProfile to a file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Currently, dotImage will read and embed a color profile into a JPEG, TIFF, or PNG image. The profile is used when converting to different color spaces such as CMYK to RGB and RGB to CMYK.

See www.color.org for a detailed explanation of the ICC and color profiles.

See Also