Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
BitmapExtension Class Reference

Public Member Functions

 BitmapExtension ()
 

Static Public Member Functions

static Bitmap SetChannel (Bitmap b, STChannelType channelR, STChannelType channelG, STChannelType channelB, STChannelType channelA)
 
static Bitmap FillColor (int Width, int Height, Color color)
 
static List< byte[]> GenerateMipMaps (Bitmap bitmap)
 
static Bitmap Resize (Image original, Size size)
 
static Bitmap Resize (Image original, uint width, uint height)
 
static Bitmap Resize (Image original, int width, int height)
 
static Bitmap ResizeImage (Image image, int width, int height, InterpolationMode interpolationMode=InterpolationMode.HighQualityBicubic, SmoothingMode smoothingMode=SmoothingMode.HighQuality)
 
static Bitmap GetBitmap (byte[] Buffer, int Width, int Height, System.Drawing.Imaging.PixelFormat pixelFormat=System.Drawing.Imaging.PixelFormat.Format32bppArgb)
 
static void ColorToHSV (Color color, out double hue, out double saturation, out double value)
 
static Color ColorFromHSV (double hue, double saturation, double value)
 
static void RgbToHls (int r, int g, int b, out double h, out double l, out double s)
 
static void HlsToRgb (double h, double l, double s, out int r, out int g, out int b)
 
static Bitmap CreateImageThumbnail (Bitmap image, int width, int height)
 
static byte[] ImageToByte (Bitmap bitmap)
 

Properties

static string FileFilter [get]
 

Static Private Member Functions

static byte SetChannelByte (STChannelType channel, byte r, byte g, byte b, byte a)
 
static double QqhToRgb (double q1, double q2, double hue)
 
static void ConvertBgraToRgba (byte[] bytes)
 

Constructor & Destructor Documentation

◆ BitmapExtension()

BitmapExtension.BitmapExtension ( )

Member Function Documentation

◆ ColorFromHSV()

static Color BitmapExtension.ColorFromHSV ( double hue,
double saturation,
double value )
static

◆ ColorToHSV()

static void BitmapExtension.ColorToHSV ( Color color,
out double hue,
out double saturation,
out double value )
static

◆ ConvertBgraToRgba()

static void BitmapExtension.ConvertBgraToRgba ( byte[] bytes)
staticprivate

◆ CreateImageThumbnail()

static Bitmap BitmapExtension.CreateImageThumbnail ( Bitmap image,
int width,
int height )
static

◆ FillColor()

static Bitmap BitmapExtension.FillColor ( int Width,
int Height,
Color color )
static

◆ GenerateMipMaps()

static List< byte[]> BitmapExtension.GenerateMipMaps ( Bitmap bitmap)
static

◆ GetBitmap()

static Bitmap BitmapExtension.GetBitmap ( byte[] Buffer,
int Width,
int Height,
System.Drawing.Imaging.PixelFormat pixelFormat = System::Drawing::Imaging::PixelFormat::Format32bppArgb )
static

◆ HlsToRgb()

static void BitmapExtension.HlsToRgb ( double h,
double l,
double s,
out int r,
out int g,
out int b )
static

◆ ImageToByte()

static byte[] BitmapExtension.ImageToByte ( Bitmap bitmap)
static

◆ QqhToRgb()

static double BitmapExtension.QqhToRgb ( double q1,
double q2,
double hue )
staticprivate

◆ Resize() [1/3]

static Bitmap BitmapExtension.Resize ( Image original,
int width,
int height )
static

◆ Resize() [2/3]

static Bitmap BitmapExtension.Resize ( Image original,
Size size )
static

◆ Resize() [3/3]

static Bitmap BitmapExtension.Resize ( Image original,
uint width,
uint height )
static

◆ ResizeImage()

static Bitmap BitmapExtension.ResizeImage ( Image image,
int width,
int height,
InterpolationMode interpolationMode = InterpolationMode::HighQualityBicubic,
SmoothingMode smoothingMode = SmoothingMode::HighQuality )
static

◆ RgbToHls()

static void BitmapExtension.RgbToHls ( int r,
int g,
int b,
out double h,
out double l,
out double s )
static

◆ SetChannel()

static Bitmap BitmapExtension.SetChannel ( Bitmap b,
STChannelType channelR,
STChannelType channelG,
STChannelType channelB,
STChannelType channelA )
static

◆ SetChannelByte()

static byte BitmapExtension.SetChannelByte ( STChannelType channel,
byte r,
byte g,
byte b,
byte a )
staticprivate

Property Documentation

◆ FileFilter

string BitmapExtension.FileFilter
staticget

The documentation for this class was generated from the following file: