API Reference
Class
OfficeIccRasterConverter
Converts bounded, tightly packed 8-bit RGB or CMYK device samples to opaque sRGB.
Inheritance
- Object
- OfficeIccRasterConverter
Remarks
This API accepts raw device samples and ICC bytes supplied by the caller. It does not extract metadata from encoded images, alter the source buffer, or change image optimizer metadata reports. Alpha, planar samples, higher bit depths, and implicit device-color conversion are outside this contract.
Methods
public static OfficeIccRasterConversionStatus TryConvertToSrgb(Byte[] deviceSamples, Int32 width, Int32 height, Byte[] profileBytes, OfficeIccRasterConversionOptions options, out OfficeRasterImage image) #Returns:
OfficeIccRasterConversionStatusAttempts one complete conversion, returning a typed rejection instead of partial pixels.
Parameters
- deviceSamples System.Byte[]
- width System.Int32
- height System.Int32
- profileBytes System.Byte[]
- options OfficeIMO.Drawing.OfficeIccRasterConversionOptions
- image OfficeIMO.Drawing.OfficeRasterImage@
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object