C# (CSharp) ImageUtility Namespace

Nested Namespaces

ImageUtility.UnitTests

Сlasses

Name Description
Bitmap The Bitmap class should be used to replace the standard System.Drawing.Bitmap The big advantage of the Bitmap class is to accurately read back the color profile and gamma correction data stored in the image's metadata so that, internally, the image is stored: • As device-independent CIE XYZ (http://en.wikipedia.org/wiki/CIE_1931_color_space) format, our Profile Connection Space • In linear space (i.e. no gamma curve is applied) • NOT pre-multiplied alpha (you can later re-pre-multiply if needed) This helps to ensure that whatever the source image format stored on disk, you always deal with a uniformized image internally. Later, you can cast from the CIE XYZ device-independent format into any number of pre-defined texture profiles: • sRGB or Linear space textures (for 8bits per component images only) • Compressed (BC1-BC5) or uncompressed (for 8bits per component images only) • 8-, 16-, 16F- 32- or 32F-bits per component • Pre-multiplied alpha or not The following image formats are currently supported: • JPG • PNG • TIFF • TGA • BMP • GIF • HDR • Any RAW camera format supported by the LibRaw library
Bitmap.FormatEncoderOptions This is an aggregate of the various options that can be fed to the Save() method
ColorProfile The source color for the bitmap The color profile helps converting between the original color space and the internal CIEXYZ color space used in the Bitmap class For now, only standard profiles like Linear, sRGB, Adobe RGB, ProPhoto RGB or any custom chromaticities are supported. I believe it would be overkill to include a library for parsing embedded ICC profiles...
ColorProfile.Chromaticities
ColorProfile.InternalColorConverter_AdobeRGB_D50
ColorProfile.InternalColorConverter_AdobeRGB_D65
ColorProfile.InternalColorConverter_Generic_NoGamma
ColorProfile.InternalColorConverter_Generic_ProPhoto
ColorProfile.InternalColorConverter_Generic_StandardGamma
ColorProfile.InternalColorConverter_Generic_sRGBGamma
ColorProfile.InternalColorConverter_ProPhoto
ColorProfile.InternalColorConverter_Radiance
ColorProfile.InternalColorConverter_sRGB
ColorProfile.MetaDataProcessor
PF_D24S8
PF_D32
PF_Empty
PF_R16
PF_R32F
PF_R8
PF_RG16
PF_RG32F
PF_RG8
PF_RGB32F
PF_RGBA16
PF_RGBA32F
PF_RGBA8
PF_RGBA8_sRGB
PF_RGBE
TargaImage Reads and loads a Truevision TGA Format image file.
TargaImage.TargaConstants
TargaImage.TargaExtensionArea This class holds all of the Extension Area properties of the Targa image. If an Extension Area exists in the file.
TargaImage.TargaFooter Holds Footer infomation read from the image file.
TargaImage.TargaHeader This class holds all of the header properties of a Targa image. This includes the TGA File Header section the ImageID and the Color Map.
TargaImage.Utilities Utilities functions used by the TargaImage class.
float2
float3
float4
float4x4