Nextended.Imaging — API reference
The complete public surface of Nextended.Imaging, generated from the compiled assembly.
Generated
This page is generated by tools/ApiRef from the compiled assembly — it includes members with no XML comment and therefore cannot drift from the code. Do not edit by hand.
Nextended.Imaging
ImageHelper
static class
Hilfklasse für Bildveraerbeitung
Extension methods
StartsWith(this byte[] thisBytes, byte[] thatBytes) : bool
Methods
CalculateResize(Size imageSize, Size boxSize) : Size
Calculates the resize.ConvertImageToByteArray(string fileName) : byte[]
Converts the image to a byte array.GetDimensions(BinaryReader binaryReader) : Size
Gets the dimensions of an image.GetDimensions(string path) : Size
Gets the dimensions of an image.IsValidImage(BinaryReader binaryReader) : bool
Gets the dimensions of an image.IsValidImage(byte[] bytes) : bool
IsValid ImageIsValidImage(string path) : bool
Gets the dimensions of an image.ReadImageColor(string imagePath) : Color
Farbe eines Bildes ermitteln
Miscellaneous
static class
Miscellaneous
Extension methods
GetMimeType(this FileInfo fileInfo) : string
Gibt den Mime type der Datei zurückGetWeightedBrightness(this Color color) : int
returns a value for the decision whether the text should be black or white depending on the human eye's sensitivity to the underlying colourToDelphiColor(this Color foreColor) : int
Konvertiert die Farbe zum Integer-Code, gemäß dem Delphi-Farben z.B. in Reportdefinitionen hinterlegt sind.ToHtml(this Color color) : string
Color to Hex
Methods
FromDelphiColor(int color) : Color
Konvertiert Delphi-Farbcode in WinForms-Color.GetColor(string htmlColor) : Color
Farbe zurückgebenGetMimeFromBytes(byte[] data) : string
Gibt den Mime type der eines byte Arrays zurückGetMimeType(string fileName) : string
/// Gibt den MimeType der Datei zurückGetOptimalForegroundColor(Color backgroundColor) : Color
Gibt die je nach hintergrundfarbe schwarz oder weiß zurück
Fields
DefaultMimeType : string
DefaultMimeTypeMimeSampleSize : int
MimeSampleSize
ResizeMode
enum
ResizeMode
Values
KeepScale
KeepScaleKeepScaleAndCut
KeepScaleAndCutStretch
StretchModevalue__