C# Class mobSocial.Services.MediaServices.MobSocialImageProcessor

Inheritance: IMobSocialImageProcessor
Afficher le fichier Open project: mobsoftware/mobsocial

Méthodes publiques

Méthode Description
ResizeImage ( byte imageBytes, int width, int height ) : byte[]
WriteBytesToImage ( byte imageBytes, string filePath, ImageFormat imageFormat ) : void
WriteResizedImage ( byte imageBytes, int width, int height, string filePath, ImageFormat imageFormat ) : void
WriteResizedImage ( string sourceFile, string destinationFile, int width, int height, ImageFormat imageFormat ) : void

Method Details

ResizeImage() public méthode

public ResizeImage ( byte imageBytes, int width, int height ) : byte[]
imageBytes byte
width int
height int
Résultat byte[]

WriteBytesToImage() public méthode

public WriteBytesToImage ( byte imageBytes, string filePath, ImageFormat imageFormat ) : void
imageBytes byte
filePath string
imageFormat System.Drawing.Imaging.ImageFormat
Résultat void

WriteResizedImage() public méthode

public WriteResizedImage ( byte imageBytes, int width, int height, string filePath, ImageFormat imageFormat ) : void
imageBytes byte
width int
height int
filePath string
imageFormat System.Drawing.Imaging.ImageFormat
Résultat void

WriteResizedImage() public méthode

public WriteResizedImage ( string sourceFile, string destinationFile, int width, int height, ImageFormat imageFormat ) : void
sourceFile string
destinationFile string
width int
height int
imageFormat System.Drawing.Imaging.ImageFormat
Résultat void