Skip to content

Nextended.Imaging — API-Referenz

🇬🇧 This page in English

Die vollständige öffentliche Oberfläche von Nextended.Imaging, erzeugt aus der gebauten Assembly.

Generiert

Diese Seite wird von tools/ApiRef aus der kompilierten Assembly erzeugt — sie zeigt auch Member ohne XML-Kommentar und kann daher nicht vom Code abweichen. Nicht von Hand bearbeiten.

Zurück zur Paketseite

Nextended.Imaging

ImageHelper

static class

Hilfklasse für Bildveraerbeitung

Extension Methods

  • StartsWith(this byte[] thisBytes, byte[] thatBytes) : bool

Methoden

  • 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 Image
  • IsValidImage(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ück
  • GetWeightedBrightness(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 colour
  • ToDelphiColor(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

Methoden

  • FromDelphiColor(int color) : Color
    Konvertiert Delphi-Farbcode in WinForms-Color.
  • GetColor(string htmlColor) : Color
    Farbe zurückgeben
  • GetMimeFromBytes(byte[] data) : string
    Gibt den Mime type der eines byte Arrays zurück
  • GetMimeType(string fileName) : string
    /// Gibt den MimeType der Datei zurück
  • GetOptimalForegroundColor(Color backgroundColor) : Color
    Gibt die je nach hintergrundfarbe schwarz oder weiß zurück

Felder

  • DefaultMimeType : string
    DefaultMimeType
  • MimeSampleSize : int
    MimeSampleSize

ResizeMode

enum

ResizeMode

Werte

  • KeepScale
    KeepScale
  • KeepScaleAndCut
    KeepScaleAndCut
  • Stretch
    StretchMode
  • value__

Zurück zur Paketseite