C# Класс mobSocial.Services.MediaServices.MobSocialImageProcessor

Наследование: IMobSocialImageProcessor
Показать файл Открыть проект

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

Метод Описание
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

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

ResizeImage() публичный Метод

public ResizeImage ( byte imageBytes, int width, int height ) : byte[]
imageBytes byte
width int
height int
Результат byte[]

WriteBytesToImage() публичный Метод

public WriteBytesToImage ( byte imageBytes, string filePath, ImageFormat imageFormat ) : void
imageBytes byte
filePath string
imageFormat System.Drawing.Imaging.ImageFormat
Результат void

WriteResizedImage() публичный Метод

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
Результат void

WriteResizedImage() публичный Метод

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
Результат void