C# Class ImageApp.ImageOps

Afficher le fichier Open project: Azure/usql Class Usage Examples

Méthodes publiques

Méthode Description
ConvertTiffToJpeg ( string fileName ) : string[]
GetByteArrayforImage ( Stream input ) : byte[]
getImageProperty ( byte inBytes, int propertyId ) : string
rotateImage ( byte inBytes, int rotateType ) : byte[]
scaleImageBy ( byte inBytes, float scaleFactor ) : byte[]
scaleImageTo ( byte inBytes, int outWidth, int outHeight ) : byte[]

Private Methods

Méthode Description
byteArrayToImage ( byte inBytes ) : StreamImage
drawImage ( Image inImage, Bitmap outImage, Rectangle region ) : void
imageToByteArray ( Image inImage ) : byte[]

Method Details

ConvertTiffToJpeg() public static méthode

public static ConvertTiffToJpeg ( string fileName ) : string[]
fileName string
Résultat string[]

GetByteArrayforImage() public static méthode

public static GetByteArrayforImage ( Stream input ) : byte[]
input Stream
Résultat byte[]

getImageProperty() public static méthode

public static getImageProperty ( byte inBytes, int propertyId ) : string
inBytes byte
propertyId int
Résultat string

rotateImage() public static méthode

public static rotateImage ( byte inBytes, int rotateType ) : byte[]
inBytes byte
rotateType int
Résultat byte[]

scaleImageBy() public static méthode

public static scaleImageBy ( byte inBytes, float scaleFactor ) : byte[]
inBytes byte
scaleFactor float
Résultat byte[]

scaleImageTo() public static méthode

public static scaleImageTo ( byte inBytes, int outWidth, int outHeight ) : byte[]
inBytes byte
outWidth int
outHeight int
Résultat byte[]