Skip to content

Nextended.Imaging — API reference

🇩🇪 Diese Seite auf Deutsch

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.

Back to the package page

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 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

Methods

  • 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

Fields

  • DefaultMimeType : string
    DefaultMimeType
  • MimeSampleSize : int
    MimeSampleSize

ResizeMode

enum

ResizeMode

Values

  • KeepScale
    KeepScale
  • KeepScaleAndCut
    KeepScaleAndCut
  • Stretch
    StretchMode
  • value__

Back to the package page