메소드 | 설명 | |
---|---|---|
GetBmpImageSize ( Stream stream ) : |
Reads the size of a BMP image from this stream at the current offset Rewinds the stream to where it started when finished
|
|
GetGifImageSize ( Stream stream ) : |
Reads the size of a GIF image from this stream at the current offset Rewinds the stream to where it started when finished
|
|
GetImageSize ( Stream stream ) : |
Tries to use the GNV fast image size checkers for JPEG, GIF, PNG, and BMP Uses .NET newing-up an Image object as a fallback
|
|
GetImageSize ( string imagePath ) : |
Tries to use the GNV fast image size checkers for JPEG, GIF, PNG, and BMP Uses .NET newing-up an Image object as a fallback
|
|
GetJpegImageSize ( Stream stream ) : |
Reads a JPEG image's dimensions and returns a Size object. Much faster than using the built in System.Drawing.Image class which loads the entire image into memory Rewinds the stream after reading.
|
|
GetPngImageSize ( Stream stream ) : |
Reads the size of a PNG image from this stream at the current offset Rewinds the stream to where it started when finished
|
public static GetBmpImageSize ( Stream stream ) : |
||
stream | Stream | |
리턴 |
public static GetGifImageSize ( Stream stream ) : |
||
stream | Stream | |
리턴 |
public static GetImageSize ( Stream stream ) : |
||
stream | Stream | |
리턴 |
public static GetImageSize ( string imagePath ) : |
||
imagePath | string | |
리턴 |
public static GetJpegImageSize ( Stream stream ) : |
||
stream | Stream | |
리턴 |
public static GetPngImageSize ( Stream stream ) : |
||
stream | Stream | |
리턴 |