C# Class PixbufUtils, f-spot

Afficher le fichier Open project: mono/f-spot Class Usage Examples

Méthodes publiques

Свойство Type Description
LoadingPixbuf Pixbuf

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Blur() public static méthode

public static Blur ( Pixbuf src, int radius, FSpot.UI.Dialog.ThreadProgressDialog dialog ) : Pixbuf
src Pixbuf
radius int
dialog FSpot.UI.Dialog.ThreadProgressDialog
Résultat Pixbuf

Clone() public static méthode

public static Clone ( this surf ) : ImageSurface
surf this
Résultat Cairo.ImageSurface

ColorAdjust() public static méthode

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
Résultat Pixbuf

ColorAdjust() public static méthode

public static ColorAdjust ( Gdk src, Gdk dest, Transform trans ) : void
src Gdk
dest Gdk
trans Transform
Résultat void

ColorAdjust() public static méthode

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
Résultat void

CreateDerivedVersion() public static méthode

public static CreateDerivedVersion ( SafeUri source, SafeUri destination ) : void
source Hyena.SafeUri
destination Hyena.SafeUri
Résultat void

CreateDerivedVersion() public static méthode

public static CreateDerivedVersion ( SafeUri source, SafeUri destination, uint jpeg_quality ) : void
source Hyena.SafeUri
destination Hyena.SafeUri
jpeg_quality uint
Résultat void

CreateDerivedVersion() public static méthode

public static CreateDerivedVersion ( SafeUri source, SafeUri destination, uint jpeg_quality, Pixbuf pixbuf ) : void
source Hyena.SafeUri
destination Hyena.SafeUri
jpeg_quality uint
pixbuf Pixbuf
Résultat void

Fit() public static méthode

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
Résultat double

Fit() public static méthode

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
Résultat double

Flatten() public static méthode

public static Flatten ( Pixbuf pixbuf ) : Pixbuf
pixbuf Pixbuf
Résultat Pixbuf

GetOrientation() public static méthode

public static GetOrientation ( SafeUri uri ) : ImageOrientation,
uri Hyena.SafeUri
Résultat ImageOrientation,

IconFromPixbuf() public static méthode

public static IconFromPixbuf ( Pixbuf source, int size ) : Pixbuf
source Pixbuf
size int
Résultat Pixbuf

IsGray() public static méthode

public static IsGray ( Gdk pixbuf, int max_difference ) : bool
pixbuf Gdk
max_difference int
Résultat bool

LoadAtMaxSize() static public méthode

static public LoadAtMaxSize ( string path, int max_width, int max_height ) : Pixbuf
path string
max_width int
max_height int
Résultat Pixbuf

PixbufCmsFormat() public static méthode

public static PixbufCmsFormat ( Pixbuf buf ) : FSpot.Cms.Format
buf Pixbuf
Résultat FSpot.Cms.Format

Pixbuf_GetRow() public static méthode

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
Résultat byte[]

Pixbuf_SetRow() public static méthode

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
Résultat void

RemoveRedeye() public static méthode

public static RemoveRedeye ( Gdk src, Gdk area ) : Gdk.Pixbuf
src Gdk
area Gdk
Résultat Gdk.Pixbuf

RemoveRedeye() public static méthode

public static RemoveRedeye ( Gdk src, Gdk area, int threshold ) : Gdk.Pixbuf
src Gdk
area Gdk
threshold int
Résultat Gdk.Pixbuf

ReplaceColor() public static méthode

public static ReplaceColor ( Gdk src, Gdk dest ) : void
src Gdk
dest Gdk
Résultat void

ScaleToAspect() public static méthode

public static ScaleToAspect ( Gdk orig, int width, int height ) : Gdk.Pixbuf
orig Gdk
width int
height int
Résultat Gdk.Pixbuf

TagIconFromPixbuf() public static méthode

public static TagIconFromPixbuf ( Pixbuf source ) : Pixbuf
source Pixbuf
Résultat Pixbuf

UnsharpMask() public static méthode

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
Résultat Pixbuf

Property Details

LoadingPixbuf public_oe static_oe property

public static Pixbuf LoadingPixbuf
Résultat Pixbuf