C# Класс ImageGlass.Library.Image.ExifThumbReader

Allows reading of embedded thumbnail image from the EXIF information in an image.
Показать файл Открыть проект

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

Метод Описание
ReadThumb ( string imagePath ) : System.Drawing.Image

Reads the thumbnail in the given image. If no thumbnail is found, returns null

Приватные методы

Метод Описание
GdipDisposeImage ( IntPtr image ) : int
GdipGetPropertyItem ( IntPtr image, int propid, int size, IntPtr buffer ) : int
GdipGetPropertyItemSize ( IntPtr image, int propid, int &size ) : int
GdipLoadImageFromFile ( string filename, IntPtr &image ) : int
convertFromMemory ( IntPtr thumbData ) : System.Drawing.Image

Converts the IntPtr buffer to a property item and then converts its value to a Drawing.Image item

createException ( int gdipErrorCode ) : Exception

Generates an exception depending on the GDI+ error codes (I removed some error codes)

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

ReadThumb() публичный статический Метод

Reads the thumbnail in the given image. If no thumbnail is found, returns null
public static ReadThumb ( string imagePath ) : System.Drawing.Image
imagePath string
Результат System.Drawing.Image