VintasoftImage Constructor(String,Boolean)
Инициализирует новый экземпляр класса
VintasoftImage.
Поддерживаемые форматы изображений: BMP, DICOM, DOCX, XLSX, EMF, GIF, Icon, JBIG2, JPEG, JPEG-LS, JPEG2000, PCX, PDF, PNG, RAW, TIFF, WMF.
Вот C#/VB.NET код, который демонстрирует, как загрузить изображение из файла (файл будет открыт в режиме только для чтения, поток файлов будет закрыт при удалении изображения).
Dim filepath As String = "D:\Example.tiff"
' create an image from file (file will be opened in read only mode,
' file stream will be closed when image is disposed)
' ...
Using image As New Vintasoft.Imaging.VintasoftImage(filepath, True)
End Using
string filepath = @"D:\Example.tiff";
// create an image from file (file will be opened in read only mode,
// file stream will be closed when image is disposed)
using (Vintasoft.Imaging.VintasoftImage image =
new Vintasoft.Imaging.VintasoftImage(filepath, true))
{
// ...
}
Целевые платформы: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5