C# Класс PixbufUtils, f-spot

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
LoadingPixbuf Pixbuf

Открытые методы

Метод Описание
Blur ( Pixbuf src, int radius, FSpot.UI.Dialog.ThreadProgressDialog dialog ) : Pixbuf
Clone ( this surf ) : ImageSurface
ColorAdjust ( Pixbuf src, double brightness, double contrast, double hue, double saturation, int src_color, int dest_color ) : Pixbuf
ColorAdjust ( Gdk src, Gdk dest, Transform trans ) : void
ColorAdjust ( Pixbuf src, Pixbuf dest, double brightness, double contrast, double hue, double saturation, int src_color, int dest_color ) : void
CreateDerivedVersion ( SafeUri source, SafeUri destination ) : void
CreateDerivedVersion ( SafeUri source, SafeUri destination, uint jpeg_quality ) : void
CreateDerivedVersion ( SafeUri source, SafeUri destination, uint jpeg_quality, Pixbuf pixbuf ) : void
Fit ( Pixbuf pixbuf, int dest_width, int dest_height, bool upscale_smaller, int &fit_width, int &fit_height ) : double
Fit ( int orig_width, int orig_height, int dest_width, int dest_height, bool upscale_smaller, int &fit_width, int &fit_height ) : double
Flatten ( Pixbuf pixbuf ) : Pixbuf
GetOrientation ( SafeUri uri ) : ImageOrientation,
IconFromPixbuf ( Pixbuf source, int size ) : Pixbuf
IsGray ( Gdk pixbuf, int max_difference ) : bool
LoadAtMaxSize ( string path, int max_width, int max_height ) : Pixbuf
PixbufCmsFormat ( Pixbuf buf ) : FSpot.Cms.Format
Pixbuf_GetRow ( byte pixels, int row, int rowstride, int width, int channels, byte dest ) : byte[]
Pixbuf_SetRow ( byte pixels, byte dest, int row, int rowstride, int width, int channels ) : void
RemoveRedeye ( Gdk src, Gdk area ) : Gdk.Pixbuf
RemoveRedeye ( Gdk src, Gdk area, int threshold ) : Gdk.Pixbuf
ReplaceColor ( Gdk src, Gdk dest ) : void
ScaleToAspect ( Gdk orig, int width, int height ) : Gdk.Pixbuf
TagIconFromPixbuf ( Pixbuf source ) : Pixbuf
UnsharpMask ( Pixbuf src, double radius, double amount, double threshold, FSpot.UI.Dialog.ThreadProgressDialog progressDialog ) : Pixbuf

Приватные методы

Метод Описание
LoadFromAssembly ( string resource ) : Pixbuf
Save ( this pixbuf, string filename, string type, uint jpeg_quality ) : bool
SaveToSuitableFormat ( SafeUri destination, Pixbuf pixbuf, uint jpeg_quality ) : void
gdk_pixbuf_save ( IntPtr raw, IntPtr filename, IntPtr type, IntPtr &error, IntPtr optlabel1, IntPtr optvalue1, IntPtr dummy ) : bool

Описание методов

Blur() публичный статический Метод

public static Blur ( Pixbuf src, int radius, FSpot.UI.Dialog.ThreadProgressDialog dialog ) : Pixbuf
src Pixbuf
radius int
dialog FSpot.UI.Dialog.ThreadProgressDialog
Результат Pixbuf

Clone() публичный статический Метод

public static Clone ( this surf ) : ImageSurface
surf this
Результат Cairo.ImageSurface

ColorAdjust() публичный статический Метод

public static ColorAdjust ( Pixbuf src, double brightness, double contrast, double hue, double saturation, int src_color, int dest_color ) : Pixbuf
src Pixbuf
brightness double
contrast double
hue double
saturation double
src_color int
dest_color int
Результат Pixbuf

ColorAdjust() публичный статический Метод

public static ColorAdjust ( Gdk src, Gdk dest, Transform trans ) : void
src Gdk
dest Gdk
trans Transform
Результат void

ColorAdjust() публичный статический Метод

public static ColorAdjust ( Pixbuf src, Pixbuf dest, double brightness, double contrast, double hue, double saturation, int src_color, int dest_color ) : void
src Pixbuf
dest Pixbuf
brightness double
contrast double
hue double
saturation double
src_color int
dest_color int
Результат void

CreateDerivedVersion() публичный статический Метод

public static CreateDerivedVersion ( SafeUri source, SafeUri destination ) : void
source Hyena.SafeUri
destination Hyena.SafeUri
Результат void

CreateDerivedVersion() публичный статический Метод

public static CreateDerivedVersion ( SafeUri source, SafeUri destination, uint jpeg_quality ) : void
source Hyena.SafeUri
destination Hyena.SafeUri
jpeg_quality uint
Результат void

CreateDerivedVersion() публичный статический Метод

public static CreateDerivedVersion ( SafeUri source, SafeUri destination, uint jpeg_quality, Pixbuf pixbuf ) : void
source Hyena.SafeUri
destination Hyena.SafeUri
jpeg_quality uint
pixbuf Pixbuf
Результат void

Fit() публичный статический Метод

public static Fit ( Pixbuf pixbuf, int dest_width, int dest_height, bool upscale_smaller, int &fit_width, int &fit_height ) : double
pixbuf Pixbuf
dest_width int
dest_height int
upscale_smaller bool
fit_width int
fit_height int
Результат double

Fit() публичный статический Метод

public static Fit ( int orig_width, int orig_height, int dest_width, int dest_height, bool upscale_smaller, int &fit_width, int &fit_height ) : double
orig_width int
orig_height int
dest_width int
dest_height int
upscale_smaller bool
fit_width int
fit_height int
Результат double

Flatten() публичный статический Метод

public static Flatten ( Pixbuf pixbuf ) : Pixbuf
pixbuf Pixbuf
Результат Pixbuf

GetOrientation() публичный статический Метод

public static GetOrientation ( SafeUri uri ) : ImageOrientation,
uri Hyena.SafeUri
Результат ImageOrientation,

IconFromPixbuf() публичный статический Метод

public static IconFromPixbuf ( Pixbuf source, int size ) : Pixbuf
source Pixbuf
size int
Результат Pixbuf

IsGray() публичный статический Метод

public static IsGray ( Gdk pixbuf, int max_difference ) : bool
pixbuf Gdk
max_difference int
Результат bool

LoadAtMaxSize() статический публичный Метод

static public LoadAtMaxSize ( string path, int max_width, int max_height ) : Pixbuf
path string
max_width int
max_height int
Результат Pixbuf

PixbufCmsFormat() публичный статический Метод

public static PixbufCmsFormat ( Pixbuf buf ) : FSpot.Cms.Format
buf Pixbuf
Результат FSpot.Cms.Format

Pixbuf_GetRow() публичный статический Метод

public static Pixbuf_GetRow ( byte pixels, int row, int rowstride, int width, int channels, byte dest ) : byte[]
pixels byte
row int
rowstride int
width int
channels int
dest byte
Результат byte[]

Pixbuf_SetRow() публичный статический Метод

public static Pixbuf_SetRow ( byte pixels, byte dest, int row, int rowstride, int width, int channels ) : void
pixels byte
dest byte
row int
rowstride int
width int
channels int
Результат void

RemoveRedeye() публичный статический Метод

public static RemoveRedeye ( Gdk src, Gdk area ) : Gdk.Pixbuf
src Gdk
area Gdk
Результат Gdk.Pixbuf

RemoveRedeye() публичный статический Метод

public static RemoveRedeye ( Gdk src, Gdk area, int threshold ) : Gdk.Pixbuf
src Gdk
area Gdk
threshold int
Результат Gdk.Pixbuf

ReplaceColor() публичный статический Метод

public static ReplaceColor ( Gdk src, Gdk dest ) : void
src Gdk
dest Gdk
Результат void

ScaleToAspect() публичный статический Метод

public static ScaleToAspect ( Gdk orig, int width, int height ) : Gdk.Pixbuf
orig Gdk
width int
height int
Результат Gdk.Pixbuf

TagIconFromPixbuf() публичный статический Метод

public static TagIconFromPixbuf ( Pixbuf source ) : Pixbuf
source Pixbuf
Результат Pixbuf

UnsharpMask() публичный статический Метод

public static UnsharpMask ( Pixbuf src, double radius, double amount, double threshold, FSpot.UI.Dialog.ThreadProgressDialog progressDialog ) : Pixbuf
src Pixbuf
radius double
amount double
threshold double
progressDialog FSpot.UI.Dialog.ThreadProgressDialog
Результат Pixbuf

Описание свойств

LoadingPixbuf публичное статическое свойство

public static Pixbuf LoadingPixbuf
Результат Pixbuf