GammaValueDenominator
TgaImage.GammaValueDenominator property
Ruft den Teil des Gamma-Wert-Nenners ab. Ein unkorrigiertes Bild (ein Bild ohne Gamma) sollte als Ergebnis den Wert 1,0 haben.
public ushort GammaValueDenominator { get; }
Beispiele
Abrufen von Werten der öffentlichen Eigenschaften des geladenen TGA-Bildes.
[C#]
using (TgaImage image = (TgaImage)Image.Load("test.tga"))
{
dateTimeStamp = image.DateTimeStamp;
authorName = image.AuthorName;
authorComments = image.AuthorComments;
imageId = image.ImageId;
jobNameOrId = image.JobNameOrId;
jobTime = image.JobTime;
keyColor = image.TransparentColor;
softwareId = image.SoftwareId;
softwareVersion = image.SoftwareVersion;
softwareVersionLetter = image.SoftwareVersionLetter;
softwareVersionNumber = image.SoftwareVersionNumber;
xOrigin = image.XOrigin;
yOrigin = image.YOrigin;
gammaValueDenominator = image.GammaValueDenominator;
gammaValueNumerator = image.GammaValueNumerator;
hasAlphaChannel = image.HasAlpha;
hasColorMap = image.HasColorMap;
height = image.Height;
isGrayScale = image.IsGrayScale;
pixelAspectRatioDenominator = image.PixelAspectRatioDenominator;
pixelAspectRatioNumerator = image.PixelAspectRatioNumerator;
size = image.Size;
width = image.Width;
}
Siehe auch
- class TgaImage
- namensraum Aspose.Imaging.FileFormats.Tga
- Montage Aspose.Imaging